mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-19 05:26:28 +00:00
See https://github.com/tgstation/tgstation/pull/74497 Causes auxtools to not be a default part of the server environment and requires server operators to manually enable it. --------- Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
23 lines
584 B
Plaintext
23 lines
584 B
Plaintext
//config files
|
|
#define CONFIG_GET(X) global.config.Get(/datum/config_entry/##X)
|
|
#define CONFIG_SET(X, Y) global.config.Set(/datum/config_entry/##X, ##Y)
|
|
|
|
#define CONFIG_MAPS_FILE "maps.txt"
|
|
|
|
//flags
|
|
/// can't edit
|
|
#define CONFIG_ENTRY_LOCKED (1<<0)
|
|
/// can't see value
|
|
#define CONFIG_ENTRY_HIDDEN (1<<1)
|
|
|
|
/// Force the config directory to be something other than "config"
|
|
#define OVERRIDE_CONFIG_DIRECTORY_PARAMETER "config-directory"
|
|
|
|
// Config entry types
|
|
#define VALUE_MODE_NUM 0
|
|
#define VALUE_MODE_TEXT 1
|
|
#define VALUE_MODE_FLAG 2
|
|
|
|
#define KEY_MODE_TEXT 0
|
|
#define KEY_MODE_TYPE 1
|