Prototype/TipsAndTricksItem: Difference between revisions
m (Protected "Prototype/TipsAndTricksItem": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(Updated styling of prototype doc migration note) |
||
Line 1: | Line 1: | ||
'''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/TipsAndTricksItem.html https://lua-api.factorio.com/latest/prototypes/TipsAndTricksItem.html] | <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/TipsAndTricksItem.html https://lua-api.factorio.com/latest/prototypes/TipsAndTricksItem.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 [https://forums.factorio.com/viewforum.php?f=233 on the forums]. | </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> | ||
Revision as of 10:43, 21 September 2023
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/TipsAndTricksItem.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.
Template:Prototype parent A tips and tricks entry.
Optional properties
Template:Prototype property
String to add in front of the tips and trick entries name. Can be anything, the base game tends to use rich text tags for items, e.g. [item=wooden-chest]
here.
Template:Prototype property
Name of a Prototype/TipsAndTricksItemCategory, used for the sorting of this tips and tricks entry. Tips and trick entries are sorted first by category and then by their order
within that category.
Template:Prototype property
The tips and tricks entry is indented by indent
×6 spaces.
Template:Prototype property Whether the tip title on the left in the tips and tricks GUI should use the "title_tip_item" style (semi bold font).
Template:Prototype property Condition for when the tip notification should be shown to the player.
Template:Prototype property Condition for never showing the tip notification to the player.
Template:Prototype property Name of a Prototype/Tutorial.
Template:Prototype property An array of names of other tips and tricks items. This tips and tricks entry is only shown to the player once they have marked all dependencies as read.
One of "all", "keyboard_and_mouse" and "game_controller".