mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Changes the direct setting of stat to a more sane one called enacted through a proc.
This commit is contained in:
@@ -5,10 +5,6 @@
|
||||
|
||||
//Revive from regenerative stasis
|
||||
/obj/effect/proc_holder/changeling/revive/sting_action(var/mob/living/carbon/user)
|
||||
if(user.stat == DEAD)
|
||||
dead_mob_list -= user
|
||||
living_mob_list |= user
|
||||
|
||||
user.setToxLoss(0)
|
||||
user.setOxyLoss(0)
|
||||
user.setCloneLoss(0)
|
||||
@@ -64,14 +60,12 @@
|
||||
IO.trace_chemicals = list()
|
||||
H.updatehealth()
|
||||
|
||||
user.stat = CONSCIOUS
|
||||
|
||||
to_chat(user, "<span class='notice'>We have regenerated.</span>")
|
||||
|
||||
user.regenerate_icons()
|
||||
|
||||
user.status_flags &= ~(FAKEDEATH)
|
||||
user.update_canmove()
|
||||
user.update_revive() //Handle waking up the changeling after the regenerative stasis has completed.
|
||||
user.mind.changeling.purchasedpowers -= src
|
||||
user.med_hud_set_status()
|
||||
user.med_hud_set_health()
|
||||
|
||||
Reference in New Issue
Block a user