config_entry

Vars | |
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. |
Procs | |
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. |
Var Details
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.