POLARIS: Adds an animation thing, uses it on ventcrawls

This commit is contained in:
Arokha Sieyes
2018-03-15 23:50:14 -04:00
parent 6072077d10
commit f6321228a0
2 changed files with 37 additions and 0 deletions

View File

@@ -155,6 +155,7 @@ var/list/ventcrawl_machinery = list(
if(HAZARD_HIGH_PRESSURE to INFINITY)
to_chat(src, "<span class='danger'>You feel a roaring wind pushing you away from the vent!</span>")
fade_towards(vent_found,45)
if(!do_after(src, 45, vent_found, 1, 1))
return
if(!can_ventcrawl())