Skip to content

Commit

Permalink
[NON-MODULAR] Disable CPR For Synth Heatsink (#870)
Browse files Browse the repository at this point in the history
* Enable CPR for synths

* Cleaning up extra conditional

* Swap inversion operator for isnull

Co-authored-by: Bloop <[email protected]>

* Add conditional for checking synth lungs, undo earlier changes

* Change chat message to balloon alert

* Change Nova edit comment

* Relocate heatsink conditional to more sensible line

* Update code/modules/mob/living/carbon/human/human.dm

---------

Co-authored-by: Bloop <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Feb 25, 2024
1 parent 56d4faa commit d67f170
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,11 @@
if(isnull(human_lungs))
balloon_alert(src, "you don't have lungs!")
return FALSE
// NOVA EDIT ADDITION - Disable CPR for synth heatsink
if(istype(human_lungs, /obj/item/organ/internal/lungs/synth))
balloon_alert(src, "you don't have lungs!")
return FALSE
// NOVA EDIT ADDITION END
if(human_lungs.organ_flags & ORGAN_FAILING)
balloon_alert(src, "your lungs are too damaged!")
return FALSE
Expand Down

0 comments on commit d67f170

Please sign in to comment.