code/controllers/configuration/__config_defines.dm ![code/controllers/configuration/__config_defines.dm0](git.png)
CONFIG_LOAD_BOOL | Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to bools. |
---|---|
CONFIG_LOAD_NUM | Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to number. |
CONFIG_LOAD_NUM_MULT | Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to number, and accepts a macro argument for number maths (ds to min for example) |
CONFIG_LOAD_STR | Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to string. |
CONFIG_LOAD_RAW | Wrapper to not overwrite a variable if a list key doesnt exist. No casting done. |
CONFIG_LOAD_LIST | Wrapper to not overwrite a variable if a list key doesnt exist. Ensures target is a list. |
Define Details
CONFIG_LOAD_BOOL ![code/controllers/configuration/__config_defines.dm 6](git.png)
Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to bools.
CONFIG_LOAD_LIST ![code/controllers/configuration/__config_defines.dm 36](git.png)
Wrapper to not overwrite a variable if a list key doesnt exist. Ensures target is a list.
CONFIG_LOAD_NUM ![code/controllers/configuration/__config_defines.dm 12](git.png)
Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to number.
CONFIG_LOAD_NUM_MULT ![code/controllers/configuration/__config_defines.dm 18](git.png)
Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to number, and accepts a macro argument for number maths (ds to min for example)
CONFIG_LOAD_RAW ![code/controllers/configuration/__config_defines.dm 30](git.png)
Wrapper to not overwrite a variable if a list key doesnt exist. No casting done.
CONFIG_LOAD_STR ![code/controllers/configuration/__config_defines.dm 24](git.png)
Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to string.