[MIRROR] [Ready] Hilbert Research Facility remap feat. tram [MDB IGNORE] (#12745)

* [Ready] Hilbert Research Facility remap feat. tram (#66082)

* reworks hilbert's hotel ruin

* warooio

* you can now run multiple trams on the same z at the same time, trams are linked by id

* fuck

* sure

* you are a simulacra

* FUG

* dock

* [Ready] Hilbert Research Facility remap feat. tram

* Update mapping_fluff.dm

* Update gordon_freeman.dm

* fixes

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-04-18 17:00:25 -07:00
committed by GitHub
co-authored by Fikou Zonespace
parent d38d646a2f
commit d71d49bd91
27 changed files with 5835 additions and 1178 deletions
@@ -485,25 +485,23 @@ GLOBAL_LIST_EMPTY(lifts)
var/obj/effect/landmark/tram/from_where
var/travel_direction
GLOBAL_DATUM(central_tram, /obj/structure/industrial_lift/tram/central)
GLOBAL_LIST_EMPTY_TYPED(central_trams, /obj/structure/industrial_lift/tram/central)
/obj/structure/industrial_lift/tram/Initialize(mapload)
. = ..()
return INITIALIZE_HINT_LATELOAD
/obj/structure/industrial_lift/tram/central//that's a surprise tool that can help us later
/obj/structure/industrial_lift/tram/central
var/tram_id = "tram_station"
/obj/structure/industrial_lift/tram/central/Initialize(mapload)
if(GLOB.central_tram)
return INITIALIZE_HINT_QDEL
. = ..()
SStramprocess.can_fire = TRUE
GLOB.central_tram = src
if(!SStramprocess.can_fire)
SStramprocess.can_fire = TRUE
GLOB.central_trams += src
/obj/structure/industrial_lift/tram/central/Destroy()
GLOB.central_tram = null
GLOB.central_trams -= src
return ..()
/obj/structure/industrial_lift/tram/LateInitialize()
@@ -593,6 +591,8 @@ GLOBAL_LIST_EMPTY(tram_landmarks)
icon_state = "tram"
/// The ID of that particular destination.
var/destination_id
/// The ID of the tram that can travel to use
var/tram_id = "tram_station"
/// Icons for the tgui console to list out for what is at this location
var/list/tgui_icons = list()