Files
VOREStation/code/modules/mob/living/living_powers.dm
Cameron653 97957fcaee Replaces more macros. (#3647)
* MORE MACRO CHANGES

AHHHHHHHHHHHHHHHHHHHH

* Fixes a few typos

* Fixes compile error

* Fixes for real

* 4 macros left that I can't find
2017-07-27 21:12:21 -05:00

14 lines
460 B
Plaintext

/mob/living/proc/hide()
set name = "Hide"
set desc = "Allows to hide beneath tables or certain items. Toggled on or off."
set category = "Abilities"
if(stat == DEAD || paralysis || weakened || stunned || restrained())
return
if (layer != 2.45)
layer = 2.45 //Just above cables with their 2.44
src << text("<font color='blue'>You are now hiding.</font>")
else
layer = MOB_LAYER
src << text("<font color='blue'>You have stopped hiding.</font>")