From 135d96de443165f9d237ecadaceb835f54c62281 Mon Sep 17 00:00:00 2001 From: shellspeed1 <46614774+shellspeed1@users.noreply.github.com> Date: Fri, 27 Sep 2019 15:59:47 -0700 Subject: [PATCH] stasis proc --- code/modules/mob/living/status_procs.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/modules/mob/living/status_procs.dm b/code/modules/mob/living/status_procs.dm index 0880f7f4..486b28c6 100644 --- a/code/modules/mob/living/status_procs.dm +++ b/code/modules/mob/living/status_procs.dm @@ -138,6 +138,14 @@ priority_absorb_key["stuns_absorbed"] += amount return TRUE +/////////////////////////////////// STASIS /////////////////////////////////// + +/mob/living/proc/IsInStasis() + . = has_status_effect(STATUS_EFFECT_STASIS) + +/mob/living/proc/SetStasis(apply, updating = TRUE) + . = apply ? apply_status_effect(STATUS_EFFECT_STASIS, null, updating) : remove_status_effect(STATUS_EFFECT_STASIS) + /////////////////////////////////// DISABILITIES //////////////////////////////////// /mob/living/proc/add_quirk(quirk, spawn_effects) //separate proc due to the way these ones are handled