From 1c7689106311b19aa25ccffbc2a1e3277a735733 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Fri, 1 May 2020 14:37:31 -0400 Subject: [PATCH 1/2] Objects fall through when catwalk opened --- code/game/objects/structures/catwalk.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/game/objects/structures/catwalk.dm b/code/game/objects/structures/catwalk.dm index 98061c458c6..85996cd61b3 100644 --- a/code/game/objects/structures/catwalk.dm +++ b/code/game/objects/structures/catwalk.dm @@ -28,8 +28,15 @@ /obj/structure/catwalk/Destroy() redraw_nearby_catwalks() + update_falling() return ..() +/obj/structure/catwalk/proc/update_falling() + spawn(1) //We get called in Destroy() and things. We might not be gone yet, so let's just put this off. + if(istype(loc, /turf/simulated/open)) + var/turf/simulated/open/O = loc + O.update() //Will cause anything on the open turf to fall if it should + /obj/structure/catwalk/proc/redraw_nearby_catwalks() for(var/direction in alldirs) var/obj/structure/catwalk/L = locate() in get_step(src, direction) @@ -83,6 +90,7 @@ if(hatch_open) playsound(src, 'sound/items/Crowbar.ogg', 100, 2) to_chat(user, "You pry open \the [src]'s maintenance hatch.") + update_falling() else playsound(src, 'sound/items/Deconstruct.ogg', 100, 2) to_chat(user, "You shut \the [src]'s maintenance hatch.") From 5d88ebd52d3e3a8aafe158c29e00e8493a9817ea Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Fri, 1 May 2020 14:47:15 -0400 Subject: [PATCH 2/2] Fix trash pit --- maps/tether/tether-02-surface2.dmm | 47 +++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 10 deletions(-) diff --git a/maps/tether/tether-02-surface2.dmm b/maps/tether/tether-02-surface2.dmm index 85e01af8050..e1b80cc8401 100644 --- a/maps/tether/tether-02-surface2.dmm +++ b/maps/tether/tether-02-surface2.dmm @@ -2774,14 +2774,14 @@ /turf/simulated/floor/tiled/techmaint, /area/tether/surfacebase/surface_two_hall) "afN" = ( -/obj/structure/catwalk, /obj/structure/cable{ icon_state = "1-2" }, /obj/machinery/atmospherics/pipe/simple/visible/supply, /obj/machinery/atmospherics/pipe/simple/visible/scrubbers, /obj/structure/disposalpipe/down, -/turf/simulated/floor/plating, +/obj/effect/catwalk_plated/dark, +/turf/simulated/open, /area/maintenance/lower/bar) "afO" = ( /obj/structure/railing{ @@ -29344,6 +29344,10 @@ /obj/random/cutout, /turf/simulated/floor/tiled/techfloor, /area/maintenance/lower/north) +"cHq" = ( +/obj/effect/catwalk_plated/dark, +/turf/simulated/open, +/area/maintenance/lower/bar) "fYA" = ( /obj/structure/catwalk, /obj/structure/cable{ @@ -29358,10 +29362,33 @@ }, /turf/simulated/floor/plating, /area/maintenance/lower/mining) +"hNH" = ( +/obj/structure/catwalk, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/visible/supply, +/obj/machinery/atmospherics/pipe/simple/visible/scrubbers, +/obj/structure/disposalpipe/segment, +/turf/simulated/open, +/area/maintenance/lower/bar) "kaa" = ( /obj/random/cutout, /turf/simulated/floor, /area/maintenance/lower/south) +"nTp" = ( +/obj/structure/catwalk, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/visible/supply, +/obj/machinery/atmospherics/pipe/simple/visible/scrubbers, +/turf/simulated/open, +/area/maintenance/lower/bar) +"peO" = ( +/obj/structure/catwalk, +/turf/simulated/open, +/area/maintenance/lower/bar) (1,1,1) = {" aaa @@ -44456,9 +44483,9 @@ adL aec aew aeP -aee -aee -aee +peO +cHq +peO ago agC adu @@ -44598,9 +44625,9 @@ adL aed aex aeQ -afx +nTp afN -agc +hNH agp agc agc @@ -44740,9 +44767,9 @@ adL aee aey aeR -aee -aee -aee +peO +cHq +peO agq aee aee