mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Air Traffic Control & Map Lore
Air Traffic Control from Polaris. Every TBD to TBD minutes, a radio exchange happens between a ship and Cyberiad Space Control, ranging from system transfer permission to declaring an emergency. Refactored MAP_NAME into /datum/map files. This also allows for built-in map lore (really just the name and system, which is only used for ATC). Secondary commit will adjust all of the lore to match our own instead of Polaris's.
This commit is contained in:
@@ -150,6 +150,12 @@
|
||||
|
||||
emergency_shuttle_called.Announce("The emergency shuttle has been called. [redAlert ? "Red Alert state confirmed: Dispatching priority shuttle. " : "" ]It will arrive in [timeLeft(600)] minutes.[reason][shuttle_master.emergencyLastCallLoc ? "\n\nCall signal traced. Results can be viewed on any communications console." : "" ]")
|
||||
|
||||
if(reason == "Automatic Crew Transfer" && signalOrigin == null) // Best way we have to check that it's actually a crew transfer and not just a player using the same message- any other calls to this proc should have a signalOrigin.
|
||||
atc.shift_ending()
|
||||
else // Emergency shuttle call (probably)
|
||||
atc.reroute_traffic(yes = TRUE)
|
||||
|
||||
|
||||
/obj/docking_port/mobile/emergency/cancel(area/signalOrigin)
|
||||
if(!canRecall)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user