Prototype/TipsAndTricksItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (oops)
(starting_status and dependencies defaults)
Line 30: Line 30:
Name of a [[Prototype/Tutorial]].
Name of a [[Prototype/Tutorial]].


{{Prototype property|starting_status|[[Types/string|string]]|optional=true}}
{{Prototype property|starting_status|[[Types/string|string]]|"locked"|optional=true}}
One of "optional", "locked", "dependencies-not-met", "unlocked", "suggested", "not-to-be-suggested", "completed-without-tutorial", "completed".
One of "optional", "locked", "dependencies-not-met", "unlocked", "suggested", "not-to-be-suggested", "completed-without-tutorial", "completed".


{{Prototype property|dependencies|[[Types/table|array]] of [[Types/string|string]]|optional=true}}
{{Prototype property|dependencies|[[Types/table|array]] of [[Types/string|string]]|none|optional=true}}
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.
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.

Revision as of 15:57, 2 December 2020

Template:Prototype parent A tips and tricks entry.

Template:Prototype TOC

Optional properties

Template:Prototype property

Template:Prototype property

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 One of "optional", "locked", "dependencies-not-met", "unlocked", "suggested", "not-to-be-suggested", "completed-without-tutorial", "completed".

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.