This commit is contained in:
Molti
2023-10-01 16:22:19 -05:00
committed by GitHub
parent 0f344740e9
commit 26ad14b17f
2 changed files with 4 additions and 1 deletions

View File

@@ -35,7 +35,8 @@
goal = goal_number goal = goal_number
bar_loc = target bar_loc = target
bar = image('icons/effects/progessbar.dmi', bar_loc, "prog_bar_0") bar = image('icons/effects/progessbar.dmi', bar_loc, "prog_bar_0")
bar.plane = ABOVE_HUD_PLANE //SET_PLANE_EXPLICIT(bar, ABOVE_HUD_PLANE, User) //comment in when we port TG planes bar.plane = ABOVE_HUD_PLANE + 1 //yogs change, increased so it draws ontop of ventcrawling overlays
//SET_PLANE_EXPLICIT(bar, ABOVE_HUD_PLANE, User) //comment in when we port TG planes
bar.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA bar.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA
user = User user = User

View File

@@ -327,6 +327,8 @@ GLOBAL_LIST_EMPTY(pipeimages)
if(target_move) if(target_move)
if(target_move.can_crawl_through()) if(target_move.can_crawl_through())
if(is_type_in_typecache(target_move, GLOB.ventcrawl_machinery)) if(is_type_in_typecache(target_move, GLOB.ventcrawl_machinery))
if(!do_after(user, 2 SECONDS, get_turf(target_move)))
return
user.forceMove(target_move.loc) //handle entering and so on. user.forceMove(target_move.loc) //handle entering and so on.
user.visible_message(span_notice("You hear something squeezing through the ducts..."), "<span class='notice'>You climb out the ventilation system.") user.visible_message(span_notice("You hear something squeezing through the ducts..."), "<span class='notice'>You climb out the ventilation system.")
else else