ATC Refactor (#17237)

* Bazinga

* moved to global var

* moved to subsystem

* susbsys fixes

* invoke async

* stable but fighting optimization

* missed delay

* makes this a subsystem

* Makes a base announce_atc proc.

* mob_announce_cooldown

* defs

* rocks

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
Cameron Lennox
2025-03-14 23:00:24 +01:00
committed by GitHub
co-authored by Willburd
parent 7bd52a9f3c
commit b431c4efb2
23 changed files with 879 additions and 494 deletions
@@ -81,9 +81,9 @@
//VOREStation Add End
if(level >= SEC_LEVEL_RED)
atc.reroute_traffic(yes = 1) // Tell them fuck off we're busy.
SSatc.reroute_traffic(yes = 1) // Tell them fuck off we're busy.
else
atc.reroute_traffic(yes = 0)
SSatc.reroute_traffic(yes = 0)
spawn()
SSnightshift.check_nightshift()