From 2478e97d8ac3b9df9e7a906a2ac047ad4014bcbe Mon Sep 17 00:00:00 2001 From: KorPhaeron Date: Fri, 31 Mar 2017 19:23:57 -0500 Subject: [PATCH 1/2] Badcode --- code/game/turfs/simulated/chasm.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/game/turfs/simulated/chasm.dm b/code/game/turfs/simulated/chasm.dm index 57be6942376..9e16f550204 100644 --- a/code/game/turfs/simulated/chasm.dm +++ b/code/game/turfs/simulated/chasm.dm @@ -9,6 +9,7 @@ icon = 'icons/turf/floors/Chasms.dmi' icon_state = "smooth" canSmoothWith = list(/turf/open/floor/fakepit, /turf/open/chasm) + density = TRUE var/drop_x = 1 var/drop_y = 1 var/drop_z = 1 @@ -142,3 +143,8 @@ /turf/open/chasm/straight_down/lava_land_surface/normal_air initial_gas_mix = "o2=22;n2=82;TEMP=293.15" + + + +/turf/open/chasm/CanPass(atom/movable/mover, turf/target, height=0) + return 1 \ No newline at end of file From 30812681ec52798f2df9b8c0ba3fbbfd476c4bed Mon Sep 17 00:00:00 2001 From: KorPhaeron Date: Sun, 2 Apr 2017 09:15:30 -0500 Subject: [PATCH 2/2] Comment --- code/game/turfs/simulated/chasm.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/turfs/simulated/chasm.dm b/code/game/turfs/simulated/chasm.dm index 9e16f550204..566e8166fe9 100644 --- a/code/game/turfs/simulated/chasm.dm +++ b/code/game/turfs/simulated/chasm.dm @@ -9,7 +9,7 @@ icon = 'icons/turf/floors/Chasms.dmi' icon_state = "smooth" canSmoothWith = list(/turf/open/floor/fakepit, /turf/open/chasm) - density = TRUE + density = TRUE //This will prevent hostile mobs from pathing into chasms, while the canpass override will still let it function like an open turf var/drop_x = 1 var/drop_y = 1 var/drop_z = 1 @@ -147,4 +147,4 @@ /turf/open/chasm/CanPass(atom/movable/mover, turf/target, height=0) - return 1 \ No newline at end of file + return 1