mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-05 22:43:46 +00:00
* Configuration datum refactor * More WIP * New easier on the eyes format * More WIP * Finished config.txt * Fucktons more WIP * The end of conversion draws near... * Add all this shit * Done converting entries finally * Hunting down compile errors * More WIP * MORE CONVERSIONS * More WIP * More WIP * Oh shit only 90 errors this time! * IT COMPILES!!! * Fixes world start runtimes
22 lines
741 B
Plaintext
22 lines
741 B
Plaintext
#define CURRENT_RESIDENT_FILE "comms.txt"
|
|
|
|
CONFIG_DEF(string/comms_key)
|
|
protection = CONFIG_ENTRY_HIDDEN
|
|
|
|
/datum/config_entry/string/comms_key/ValidateAndSet(str_val)
|
|
return str_val != "default_pwd" && length(str_val) > 6 && ..()
|
|
|
|
CONFIG_DEF(string/cross_server_address)
|
|
protection = CONFIG_ENTRY_LOCKED
|
|
|
|
/datum/config_entry/string/cross_server_address/ValidateAndSet(str_val)
|
|
return str_val != "byond:\\address:port" && ..()
|
|
|
|
CONFIG_DEF(string/cross_comms_name)
|
|
|
|
GLOBAL_VAR_INIT(medals_enabled, TRUE) //will be auto set to false if the game fails contacting the medal hub to prevent unneeded calls.
|
|
|
|
CONFIG_DEF(string/medal_hub_address)
|
|
|
|
CONFIG_DEF(string/medal_hub_password)
|
|
protection = CONFIG_ENTRY_HIDDEN |