Skip to content

Commit

Permalink
inconsistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoonij authored Sep 23, 2024
1 parent c987a76 commit 8223864
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion code/datums/status_effects/debuffs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,6 @@
return

var/mob/living/carbon/carbon = owner
carbon.vomit(20, 0, 8 SECONDS, 0, TRUE)
carbon.vomit(20)
carbon.adjustToxLoss(-3)
puke_counter = initial(puke_counter)
50 changes: 25 additions & 25 deletions code/modules/mob/living/carbon/damage_procs.dm
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
/mob/living/carbon/adjustToxLoss(
amount = 0,
updating_health = TRUE,
blocked = 0,
forced = FALSE,
used_weapon = null,
)
. = ..()
if(. == STATUS_UPDATE_NONE)
return .

if(VOMIT_THRESHOLD_REACHED(src))
apply_status_effect(STATUS_EFFECT_VOMIT)
return .

/mob/living/carbon/setToxLoss(amount, updating_health = TRUE)
. = ..()
if(. == STATUS_UPDATE_NONE)
return .

if(VOMIT_THRESHOLD_REACHED(src))
apply_status_effect(STATUS_EFFECT_VOMIT)

return .
/mob/living/carbon/adjustToxLoss(
amount = 0,
updating_health = TRUE,
blocked = 0,
forced = FALSE,
used_weapon = null,
)
. = ..()
if(. == STATUS_UPDATE_NONE)
return .
if(VOMIT_THRESHOLD_REACHED(src))
apply_status_effect(STATUS_EFFECT_VOMIT)

Check failure on line 13 in code/modules/mob/living/carbon/damage_procs.dm

View workflow job for this annotation

GitHub Actions / Run Linters

failed to resolve path /datum/status/effect/tox_vomit
return .

/mob/living/carbon/setToxLoss(amount, updating_health = TRUE)
. = ..()
if(. == STATUS_UPDATE_NONE)
return .

if(VOMIT_THRESHOLD_REACHED(src))
apply_status_effect(STATUS_EFFECT_VOMIT)

Check failure on line 23 in code/modules/mob/living/carbon/damage_procs.dm

View workflow job for this annotation

GitHub Actions / Run Linters

failed to resolve path /datum/status/effect/tox_vomit

return .

0 comments on commit 8223864

Please sign in to comment.