Update _status_effects.dm
This commit is contained in:
@@ -505,13 +505,13 @@ datum/status_effect/rebreathing/tick()
|
||||
/datum/status_effect/stabilized/purple/tick()
|
||||
var/is_healing = FALSE
|
||||
if(owner.getBruteLoss() > 0)
|
||||
owner.adjustBruteLoss(-0.2)
|
||||
owner.adjustBruteLoss(-1)
|
||||
is_healing = TRUE
|
||||
if(owner.getFireLoss() > 0)
|
||||
owner.adjustFireLoss(-0.2)
|
||||
owner.adjustFireLoss(-1)
|
||||
is_healing = TRUE
|
||||
if(owner.getToxLoss() > 0)
|
||||
owner.adjustToxLoss(-0.2, forced = TRUE) //Slimepeople should also get healed.
|
||||
owner.adjustToxLoss(-1, forced = TRUE) //Slimepeople should also get healed.
|
||||
is_healing = TRUE
|
||||
if(is_healing)
|
||||
examine_text = "<span class='warning'>SUBJECTPRONOUN is regenerating slowly, purplish goo filling in small injuries!</span>"
|
||||
@@ -932,14 +932,6 @@ datum/status_effect/stabilized/blue/on_remove()
|
||||
ADD_TRAIT(owner, TRAIT_FREESPRINT, "stabilized_slime")
|
||||
return ..()
|
||||
|
||||
/datum/status_effect/stabilized/lightpink/tick()
|
||||
owner.adjustStaminaLoss(-4.5)
|
||||
for(var/mob/living/carbon/human/H in range(1, get_turf(owner)))
|
||||
if(H != owner && H.stat != DEAD && H.health <= 0 && !H.reagents.has_reagent(/datum/reagent/medicine/epinephrine))
|
||||
to_chat(owner, "[linked_extract] pulses in sync with [H]'s heartbeat, trying to keep [H.p_them()] alive.")
|
||||
H.reagents.add_reagent(/datum/reagent/medicine/epinephrine,5)
|
||||
return ..()
|
||||
|
||||
/datum/status_effect/stabilized/lightpink/on_remove()
|
||||
REMOVE_TRAIT(owner, TRAIT_FREESPRINT, "stabilized_slime")
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user