Update _status_effects.dm
This commit is contained in:
@@ -903,8 +903,12 @@ datum/status_effect/stabilized/blue/on_remove()
|
|||||||
id = "stabilizedlightpink"
|
id = "stabilizedlightpink"
|
||||||
colour = "light pink"
|
colour = "light pink"
|
||||||
|
|
||||||
|
/datum/status_effect/stabilized/lightpink/on_apply()
|
||||||
|
ADD_TRAIT(owner, TRAIT_FREESPRINT, "stabilized_slime")
|
||||||
|
return ..()
|
||||||
|
|
||||||
/datum/status_effect/stabilized/lightpink/tick()
|
/datum/status_effect/stabilized/lightpink/tick()
|
||||||
owner.adjustStaminaLoss(-3)
|
owner.adjustStaminaLoss(-4.5)
|
||||||
for(var/mob/living/carbon/human/H in range(1, get_turf(owner)))
|
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("epinephrine"))
|
if(H != owner && H.stat != DEAD && H.health <= 0 && !H.reagents.has_reagent("epinephrine"))
|
||||||
to_chat(owner, "[linked_extract] pulses in sync with [H]'s heartbeat, trying to keep [H.p_them()] alive.")
|
to_chat(owner, "[linked_extract] pulses in sync with [H]'s heartbeat, trying to keep [H.p_them()] alive.")
|
||||||
@@ -912,7 +916,8 @@ datum/status_effect/stabilized/blue/on_remove()
|
|||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/datum/status_effect/stabilized/lightpink/on_remove()
|
/datum/status_effect/stabilized/lightpink/on_remove()
|
||||||
owner.remove_movespeed_modifier(MOVESPEED_ID_SLIME_STATUS)
|
REMOVE_TRAIT(owner, TRAIT_FREESPRINT, "stabilized_slime")
|
||||||
|
return ..()
|
||||||
|
|
||||||
/datum/status_effect/stabilized/adamantine
|
/datum/status_effect/stabilized/adamantine
|
||||||
id = "stabilizedadamantine"
|
id = "stabilizedadamantine"
|
||||||
|
|||||||
Reference in New Issue
Block a user