Prototype/GuiStyle: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "{{Prototype parent}} The available gui styles. Only 1 instance of this prototype can exist. {{Prototype TOC|gui-style}} == Mandatory properties == {{Prototype property|type...")
 
(Removed old prototype docs)
Tag: Replaced
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Prototype parent}}
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/GuiStyle.html https://lua-api.factorio.com/latest/prototypes/GuiStyle.html]
The available gui styles. Only 1 instance of this prototype can exist.


{{Prototype TOC|gui-style}}
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
== Mandatory properties ==
 
{{Prototype property|type|[[Types/string|string]]}}
Must be "gui-style".
 
{{Prototype property|name|[[Types/string|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 [[Types/StyleSpecification|StyleSpecification]]. Styles with certain names are mandatory.
 
== Optional properties ==
 
{{Prototype property|default_tileset|[[Types/FileName|FileName]]|""}}
 
{{Prototype property|default_sprite_scale|[[Types/double|double]]|1}}
 
{{Prototype property|default_sprite_priority|[[Types/string|string]]|"medium"}}
Possible values:
* "extra-high-no-scale"
* "extra-high"
* "high"
* "medium"
* "low"
* "very-low"

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/GuiStyle.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.