Files
Polaris/code/modules/ventcrawl/ventcrawl_verb.dm
PsiOmegaDelta 79baa0258e Tweaks vent crawling.
The ability to ventcrawl is now checked by the /handle_ventcrawl() proc, making it possible to properly check before and after the do_after() call.
Moves various checks into the base can_ventcrawl proc.
Now lists the first object that prevents a mob from ventcrawling, making it easier to correct the exception list.
Removes the issmall() check, instead checks if the crawling mob has the relevant verb. Fixes #14081.
2016-09-21 17:16:12 +01:00

8 lines
218 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"
var/pipe = start_ventcrawl()
if(pipe)
handle_ventcrawl()