Merge pull request #8032 from deathride58/immersivetransitturfs

Makes transit areas physically throw you out of the transit area instead of simply teleporting you
This commit is contained in:
kevinz000
2019-02-27 16:02:58 -08:00
committed by GitHub
4 changed files with 39 additions and 4 deletions
+18 -1
View File
@@ -26,7 +26,22 @@
/turf/open/space/transit/east
dir = EAST
/turf/open/space/transit/Entered(atom/movable/AM, atom/OldLoc)
/turf/open/space/transit/border
opacity = TRUE
/turf/open/space/transit/border/south
dir = SOUTH
/turf/open/space/transit/border/north
dir = NORTH
/turf/open/space/transit/border/west
dir = WEST
/turf/open/space/transit/border/east
dir = EAST
/turf/open/space/transit/border/Entered(atom/movable/AM, atom/OldLoc)
..()
if(!locate(/obj/structure/lattice) in src)
throw_atom(AM)
@@ -66,6 +81,8 @@
var/turf/T = locate(_x, _y, _z)
AM.forceMove(T)
var/turf/throwturf = get_ranged_target_turf(T, dir, 1)
AM.safe_throw_at(throwturf, 1, 4, null, FALSE)
/turf/open/space/transit/CanBuildHere()