[READY] Server dev toasts (#20147)

* Server init toast

* New libraries

* GC ref notification

* Update code/_compile_options.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

---------

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
AffectedArc07
2023-02-04 15:11:00 -06:00
committed by GitHub
co-authored by SteelSlayer
parent d32cbb7638
commit 82ebc13847
9 changed files with 18 additions and 1 deletions
@@ -28,6 +28,8 @@
var/override_map = null
/// Assoc list of region names and their server IPs. Used for geo-routing.
var/list/region_map = list()
/// Send a system toast on init completion?
var/toast_on_init_complete = FALSE
/datum/configuration_section/system_configuration/load_data(list/data)
// Use the load wrappers here. That way the default isnt made 'null' if you comment out the config line
@@ -35,6 +37,7 @@
CONFIG_LOAD_BOOL(is_production, data["is_production"])
CONFIG_LOAD_BOOL(external_tos_handler, data["external_tos_handler"])
CONFIG_LOAD_BOOL(enable_multi_instance_support, data["enable_multi_instance_support"])
CONFIG_LOAD_BOOL(toast_on_init_complete, data["toast_on_init_complete"])
CONFIG_LOAD_STR(topic_key, data["communications_password"])
CONFIG_LOAD_STR(shutdown_shell_command, data["shutdown_shell_command"])