name :: string [R] | Name of this prototype. |
order :: string [R] | Order string of this prototype. |
localised_name :: LocalisedString [R] | |
localised_description :: LocalisedString [R] | |
mod :: string [R] | The mod that owns this setting. |
setting_type :: string [R] | |
default_value :: boolean or double or int or string [R] | The default value of this setting. |
minimum_value :: double or int [R] | The minimum value for this setting or nil if this setting type doesn't support a minimum. |
maximum_value :: double or int [R] | The maximum value for this setting or nil if this setting type doesn't support a maximum. |
allowed_values :: array of string or array of int or array of double [R] | The allowed values for this setting or nil if this setting doesn't use the a fixed set of values. |
allow_blank :: boolean [R] | If this string setting allows blank values or nil if not a string setting. |
auto_trim :: boolean [R] | If this string setting auto-trims values or nil if not a string setting. |
valid :: boolean [R] | Is this object valid? |
help() → string | All methods, and properties that this object supports. |
Prototype of a mod setting.
Name of this prototype.
Order string of this prototype.
The mod that owns this setting.
The minimum value for this setting or nil
if this setting type doesn't support a minimum.
The maximum value for this setting or nil
if this setting type doesn't support a maximum.
The allowed values for this setting or nil
if this setting doesn't use the a fixed set of values.
If this string setting allows blank values or nil
if not a string setting.
If this string setting auto-trims values or nil
if not a string setting.