Merge pull request #7035 from VOREStation/vplk-shuttle-construction

[PORT] Ship/Shuttle Console Construction
This commit is contained in:
Atermonera
2020-04-25 13:22:12 -07:00
committed by GitHub
13 changed files with 130 additions and 3 deletions
+6
View File
@@ -84,6 +84,7 @@ SUBSYSTEM_DEF(shuttles)
if(shuttle)
shuttles_made += shuttle
hook_up_motherships(shuttles_made)
hook_up_shuttle_objects(shuttles_made)
shuttles_to_initialize = null
/datum/controller/subsystem/shuttles/proc/initialize_sectors()
@@ -165,6 +166,11 @@ SUBSYSTEM_DEF(shuttles)
else
error("Shuttle [S] was unable to find mothership [mothership]!")
// Let shuttles scan their owned areas for objects they want to configure (Called after mothership hookup)
/datum/controller/subsystem/shuttles/proc/hook_up_shuttle_objects(shuttles_list)
for(var/datum/shuttle/S in shuttles_list)
S.populate_shuttle_objects()
// Admin command to halt/resume overmap
/datum/controller/subsystem/shuttles/proc/toggle_overmap(new_setting)
if(overmap_halted == new_setting)