/tg/ Station 13 - Modules - TypesVar Details - Proc Details

config_entry

Vars

abstract_typeDo not instantiate if type matches this
config_entry_valueThe configured value for this entry. This shouldn't be initialized in code, instead set default
defaultRead-only default value for this config entry, used for resetting value to defaults when necessary. This is what config_entry_value is initially set to
default_protectionStores the original protection configuration, used for set_default()
deprecated_byThe config name of a configuration type that depricates this, if it exists
dupes_allowedControls if error is thrown when duplicate configuration values for this entry type are encountered
modifiedSet to TRUE if the default has been overridden by a config entry
nameRead-only, this is determined by the last portion of the derived entry type
protectionThe /datum/config_entry type that supercedes this one
resident_fileThe file which this was loaded from, if any
vv_VASForce validate and set on VV. VAS proccall guard will run regardless.

Procs

set_defaultReturns the value of the configuration datum to its default, used for resetting a config value. Note this also sets the protection back to default.

Var Details

abstract_type

Do not instantiate if type matches this

config_entry_value

The configured value for this entry. This shouldn't be initialized in code, instead set default

default

Read-only default value for this config entry, used for resetting value to defaults when necessary. This is what config_entry_value is initially set to

default_protection

Stores the original protection configuration, used for set_default()

deprecated_by

The config name of a configuration type that depricates this, if it exists

dupes_allowed

Controls if error is thrown when duplicate configuration values for this entry type are encountered

modified

Set to TRUE if the default has been overridden by a config entry

name

Read-only, this is determined by the last portion of the derived entry type

protection

The /datum/config_entry type that supercedes this one

resident_file

The file which this was loaded from, if any

vv_VAS

Force validate and set on VV. VAS proccall guard will run regardless.

Proc Details

set_default

Returns the value of the configuration datum to its default, used for resetting a config value. Note this also sets the protection back to default.