Files
VOREStation/code/game/turfs/space/transit.dm
T
Selis 28e969778c code/global.dm => code/_global_vars/ (#17244)
* 1

* Full conversion

* .

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-21 05:55:25 -04:00

32 lines
924 B
Plaintext

/turf/space/transit
can_build_into_floor = FALSE
var/pushdirection // push things that get caught in the transit tile this direction
//Overwrite because we dont want people building rods in space.
/turf/space/transit/attackby(obj/O as obj, mob/user as mob)
return
/turf/space/transit/Initialize(mapload)
. = ..()
toggle_transit(GLOB.reverse_dir[pushdirection])
//------------------------
/turf/space/transit/north // moving to the north
icon_state = "arrow-north"
pushdirection = SOUTH // south because the space tile is scrolling south
/turf/space/transit/south // moving to the south
icon_state = "arrow-south"
pushdirection = SOUTH // south because the space tile is scrolling south
/turf/space/transit/east // moving to the east
icon_state = "arrow-east"
pushdirection = WEST
/turf/space/transit/west // moving to the west
icon_state = "arrow-west"
pushdirection = WEST
//------------------------