Skip to content

Commit

Permalink
Make resuscitator no longer work on synthetic hearts and work only on…
Browse files Browse the repository at this point in the history
… inject (#8317)

* call me resuscitator not resus juice

* make it return earlier
  • Loading branch information
Firefox13 authored Sep 22, 2023
1 parent fe06a4d commit 445ff8f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/modules/reagents/reagents/other.dm
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,15 @@
affects_dead = TRUE
reagent_type = "Medicine"

/datum/reagent/resuscitator/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
/datum/reagent/resuscitator/affect_ingest(mob/living/carbon/M, var/alien, effect_multiplier)
return // since it's a "cardiac stimulant" it shouldn't really work unless injected

/datum/reagent/resuscitator/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
if(ishuman(M))
var/mob/living/carbon/human/H = M
var/obj/item/organ/internal/vital/heart/heart = H.random_organ_by_process(OP_HEART)
if(BP_IS_ROBOTIC(heart)) // neither it should work on robotic hearts, chemistry and stuf
return
if(heart)
heart.damage += 0.5
if(prob(30))
Expand Down

0 comments on commit 445ff8f

Please sign in to comment.