Skip to content

Commit

Permalink
[MIRROR] ARDS and AN code cleanup [MDB IGNORE] (#879)
Browse files Browse the repository at this point in the history
* ARDS and AN code cleanup

* Update flesh_eating.dm

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Higgin <[email protected]>
Co-authored-by: Bloop <[email protected]>
  • Loading branch information
4 people authored Nov 29, 2023
1 parent 84e74e7 commit 04f2030
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion code/datums/diseases/advance/symptoms/choking.dm
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Bonus
to_chat(M, span_userdanger("[pick("Your lungs hurt!", "It hurts to breathe!")]"))
Asphyxiate(M, A)
M.emote("gasp")
if(M.getOxyLoss() >= 120)
if(M.getOxyLoss() >= (M.maxHealth / (200/120)))
M.visible_message(span_warning("[M] stops breathing, as if their lungs have totally collapsed!"))
Asphyxiate_death(M, A)
return
Expand Down
3 changes: 0 additions & 3 deletions code/datums/diseases/advance/symptoms/flesh_eating.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ Bonus
symptom_delay_min = 3
symptom_delay_max = 6
var/chems = FALSE
var/zombie = FALSE
threshold_descs = list(
"Stage Speed 7" = "Synthesizes Heparin and Lipolicide inside the host, causing increased bleeding and hunger.",
"Stealth 5" = "The symptom remains hidden until active.",
Expand Down Expand Up @@ -128,6 +127,4 @@ Bonus
M.take_overall_damage(brute = get_damage, required_bodytype = BODYTYPE_ORGANIC)
if(chems)
M.reagents.add_reagent_list(list(/datum/reagent/toxin/heparin = 2, /datum/reagent/toxin/lipolicide = 2))
if(zombie)
M.reagents.add_reagent(/datum/reagent/hnz, 1)
return 1

0 comments on commit 04f2030

Please sign in to comment.