Hazardous Area Component | Free Golem Soft-Restriction (#65720)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
Zephyr
2022-03-28 17:49:50 -04:00
committed by GitHub
parent 7b5619f29f
commit a00df2ed76
10 changed files with 159 additions and 0 deletions

View File

@@ -71,6 +71,10 @@
qdel(src)
/obj/structure/ladder/proc/travel(going_up, mob/user, is_ghost, obj/structure/ladder/ladder)
var/response = SEND_SIGNAL(user, COMSIG_LADDER_TRAVEL, src, ladder, going_up)
if(response & LADDER_TRAVEL_BLOCK)
return
if(!is_ghost)
ladder.add_fingerprint(user)
if(!do_after(user, travel_time, target = src))