Prototype/GuiStyle
Jump to navigation
Jump to search
Prototype definitions » PrototypeBase » Prototype/GuiStyle
The available gui styles. Only 1 instance of this prototype can exist.
Prototype/GuiStyle — gui-style | ||
default_sprite_priority | :: | SpritePriority |
default_sprite_scale | :: | double |
default_tileset | :: | FileName |
Inherited from PrototypeBase | ||
name | :: | string |
type | :: | string |
localised_description | :: | LocalisedString (optional) |
localised_name | :: | LocalisedString (optional) |
order | :: | Order (optional) |
Mandatory properties
type
Type: string
Must be "gui-style".
name
Type: string
Name of the gui-style. Must be "default" since only one instances of this prototype can be defined.
Styles
Styles are defined as uniquely named properties of the prototype with a value of an extension of StyleSpecification. Styles with certain names are mandatory.
Optional properties
default_tileset
Type: FileName
Default: ""
default_sprite_scale
Type: double
Default: 1
default_sprite_priority
Type: string
Default: "medium"
Possible values:
- "extra-high-no-scale"
- "extra-high"
- "high"
- "medium"
- "low"
- "very-low"