From 6224bcd1997f9e14958ac4cea34f341c9b951b1c Mon Sep 17 00:00:00 2001 From: Archie Date: Sun, 2 May 2021 00:09:59 -0300 Subject: [PATCH 1/2] Fixes Railings and Rods --- code/datums/components/chasm.dm | 3 ++- hyperstation/code/game/objects/railings.dm | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/code/datums/components/chasm.dm b/code/datums/components/chasm.dm index 28b6186b..31f4c9bb 100644 --- a/code/datums/components/chasm.dm +++ b/code/datums/components/chasm.dm @@ -20,7 +20,8 @@ /obj/effect/light_emitter/tendril, /obj/effect/collapse, /obj/effect/particle_effect/ion_trails, - /obj/effect/dummy/phased_mob + /obj/effect/dummy/phased_mob, + /obj/effect/immovablerod )) /datum/component/chasm/Initialize(turf/target) diff --git a/hyperstation/code/game/objects/railings.dm b/hyperstation/code/game/objects/railings.dm index b3d97d9a..656a1ab2 100644 --- a/hyperstation/code/game/objects/railings.dm +++ b/hyperstation/code/game/objects/railings.dm @@ -24,13 +24,13 @@ rad_insulation = RAD_VERY_LIGHT_INSULATION rad_flags = RAD_PROTECT_CONTENTS var/check = 0 - + climbable = TRUE /obj/structure/railing/CanPass(atom/movable/mover, turf/target) if(istype(mover) && (mover.pass_flags & PASSGLASS)) return 1 if(get_dir(loc, target) == dir) - return !density + return 0 return 1 /obj/structure/railing/CheckExit(atom/movable/O, turf/target) From 9ef890d2f8cd81ee9052724849edfb7b1df03eeb Mon Sep 17 00:00:00 2001 From: Archie Date: Sun, 2 May 2021 00:19:38 -0300 Subject: [PATCH 2/2] lmaono --- hyperstation/code/game/objects/railings.dm | 1 - 1 file changed, 1 deletion(-) diff --git a/hyperstation/code/game/objects/railings.dm b/hyperstation/code/game/objects/railings.dm index 656a1ab2..78f2c1cd 100644 --- a/hyperstation/code/game/objects/railings.dm +++ b/hyperstation/code/game/objects/railings.dm @@ -24,7 +24,6 @@ rad_insulation = RAD_VERY_LIGHT_INSULATION rad_flags = RAD_PROTECT_CONTENTS var/check = 0 - climbable = TRUE /obj/structure/railing/CanPass(atom/movable/mover, turf/target) if(istype(mover) && (mover.pass_flags & PASSGLASS))