Datumizes revolutionaries (#21762)

* holy shit, datumized revs!

* changes to shuttle blocking system

* boom, more shit

* bonk more commits

* convert most in boolean checks to hasantagdatum

* oops, its supposed to be like this

* updates this comment (im making too many commits)

* more changes

* aaaaa moooore changes

* nukes some stuff, makes stuff GC better

* rev victory conditions are checked always on death

* more rev stuff

* oops fucking forgot to push

* i swear to god

* lewcc review

* i forgot this one small bit

* lewc review

* reviews

* comment

* s34n review
This commit is contained in:
Contrabang
2023-09-09 11:12:53 -04:00
committed by GitHub
parent fa52e8540e
commit e3eed1d23f
29 changed files with 483 additions and 391 deletions

View File

@@ -19,7 +19,8 @@ SUBSYSTEM_DEF(shuttle)
var/emergencyEscapeTime = SHUTTLE_ESCAPETIME //time taken for emergency shuttle to reach a safe distance after leaving station (in deciseconds)
var/emergency_sec_level_time = 0 // time sec level was last raised to red or higher
var/area/emergencyLastCallLoc
var/emergencyNoEscape
/// Things blocking escape shuttle from leaving.
var/list/hostile_environments = list()
//supply shuttle stuff
var/obj/docking_port/mobile/supply/supply
@@ -183,6 +184,12 @@ SUBSYSTEM_DEF(shuttle)
log_game("There is no means of calling the shuttle anymore. Shuttle automatically called.")
message_admins("All the communications consoles were destroyed and all AIs are inactive. Shuttle called.")
/datum/controller/subsystem/shuttle/proc/registerHostileEnvironment(datum/bad)
hostile_environments |= bad
/datum/controller/subsystem/shuttle/proc/clearHostileEnvironment(datum/bad)
hostile_environments -= bad
//try to move/request to dockHome if possible, otherwise dockAway. Mainly used for admin buttons
/datum/controller/subsystem/shuttle/proc/toggleShuttle(shuttleId, dockHome, dockAway, timed)
var/obj/docking_port/mobile/M = getShuttle(shuttleId)