Prototype/RailPlanner: Difference between revisions
(Created page with "== Basics == A rail planner. Extends Prototype/Item. == Mandatory properties == This prototype inherits all the properties from Prototype/Item. === straight_rail...") |
(Updated styling of prototype doc migration note) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== | <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/RailPlannerPrototype.html https://lua-api.factorio.com/latest/prototypes/RailPlannerPrototype.html] | ||
A [[rail planner]]. | |||
</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> | |||
{{Prototype parent|Prototype/Item}} | |||
A [[rail planner]]. | |||
{{Prototype TOC|rail-planner}} | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Item]]. | This prototype inherits all the properties from [[Prototype/Item]]. | ||
{{Prototype property|straight_rail|[[Types/string|string]]}} | |||
The name of an entity of the type "straight-rail". The first item to place of the rail must be this rail planner. | |||
The name of an entity. | |||
The name of an entity. | {{Prototype property|curved_rail|[[Types/string|string]]}} | ||
The name of an entity of the type "curved-rail". The first item to place of the rail must be this rail planner. |
Latest 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/RailPlannerPrototype.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.
Prototype definitions » PrototypeBase » Prototype/Item » Prototype/RailPlanner
A rail planner.
Mandatory properties
This prototype inherits all the properties from Prototype/Item.
straight_rail
Type: string
The name of an entity of the type "straight-rail". The first item to place of the rail must be this rail planner.
curved_rail
Type: string
The name of an entity of the type "curved-rail". The first item to place of the rail must be this rail planner.