mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-19 13:53:43 +00:00
24 lines
679 B
Plaintext
24 lines
679 B
Plaintext
/mob/living/proc/ventcrawl()
|
|
set name = "Crawl through Vent"
|
|
set desc = "Enter an air vent and crawl through the pipe system."
|
|
set category = "Abilities"
|
|
|
|
if(stat == DEAD || paralysis || weakened || stunned || restrained())
|
|
return
|
|
|
|
handle_ventcrawl()
|
|
|
|
/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("\blue You are now hiding.")
|
|
else
|
|
layer = MOB_LAYER
|
|
src << text("\blue You have stopped hiding.") |