Files
Aurora.3/code/controllers/subsystems/initialization/misc_early.dm
Matt Atlas cadd19beac Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update

* fix that verb

* cl

* fix that

* toworld

* this is pointless

* update info

* siiiiick..

* vv edit update

* fix that

* fix editing vars

* fix VV

* Port the /TG/ globals controller.

* part 1

* part 2

* oops

* part 3

* Hollow Purple

* sadas

* bsbsdb

* muda na agaki ta

* ids 1-15

* 16-31

* 41-75

* bring me back to how things used to be before i lost it all

* the strength of mayhem

* final touches

* cl

* protect some vars

* update sdql2 to use glob

* stuff?

* forgot that is not defined there

* whoops

* observ

* but it never gets better

* a

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-12-26 01:16:02 +00:00

51 lines
1.2 KiB
Plaintext

// This is one of the first subsystems initialized by the MC.
// Stuff that should be loaded before everything else that isn't significant enough to get its own SS goes here.
SUBSYSTEM_DEF(misc_early)
name = "Early Miscellaneous Init"
init_order = SS_INIT_MISC_FIRST
flags = SS_NO_FIRE | SS_NO_DISPLAY
/datum/controller/subsystem/misc_early/Initialize(timeofday)
// Setup the global HUD.
global_hud = new
global_huds = list(
global_hud.druggy,
global_hud.blurry,
global_hud.vimpaired,
global_hud.darkMask,
global_hud.nvg,
global_hud.thermal,
global_hud.meson,
global_hud.science,
)
// Populate global list of tips by category
populate_tip_list()
// Create robolimbs for chargen.
populate_robolimb_list()
// Set up antags.
// Spawn locations are set after map init!
populate_antag_type_list()
// Get BOREALIS to warn staff about a lazy admin forgetting visibility to 0
// before anyone has a chance to change it!
if (SSdiscord)
SSdiscord.alert_server_visibility()
global_initialize_webhooks()
// Setup ore.
for(var/oretype in subtypesof(/ore))
var/ore/OD = new oretype()
GLOB.ore_data[OD.name] = OD
// Setup cargo spawn lists.
setup_cargo_spawn_lists()
click_catchers = create_click_catcher()
..()