Space Station 13 - Modules - TypesDefine Details

code/controllers/configuration/__config_defines.dm

CONFIG_LOAD_BOOLWrapper to not overwrite a variable if a list key doesnt exist. Auto casts to bools.
CONFIG_LOAD_NUMWrapper to not overwrite a variable if a list key doesnt exist. Auto casts to number.
CONFIG_LOAD_NUM_MULTWrapper 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_STRWrapper to not overwrite a variable if a list key doesnt exist. Auto casts to string.
CONFIG_LOAD_RAWWrapper to not overwrite a variable if a list key doesnt exist. No casting done.
CONFIG_LOAD_LISTWrapper to not overwrite a variable if a list key doesnt exist. Ensures target is a list.

Define Details

CONFIG_LOAD_BOOL

Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to bools.

CONFIG_LOAD_LIST

Wrapper to not overwrite a variable if a list key doesnt exist. Ensures target is a list.

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_RAW

Wrapper to not overwrite a variable if a list key doesnt exist. No casting done.

CONFIG_LOAD_STR

Wrapper to not overwrite a variable if a list key doesnt exist. Auto casts to string.