mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-02-08 23:29:52 +00:00
* MORE MACRO CHANGES AHHHHHHHHHHHHHHHHHHHH * Fixes a few typos * Fixes compile error * Fixes for real * 4 macros left that I can't find
14 lines
460 B
Plaintext
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>") |