Prototype/Wall: Difference between revisions
(1.1.51: Prototype/EntityWithOwner added) |
(Migrated prototype doc to separate website) |
||
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/WallPrototype.html https://lua-api.factorio.com/latest/prototypes/WallPrototype.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]. | |||
{{Prototype parent|Prototype/EntityWithOwner}} | {{Prototype parent|Prototype/EntityWithOwner}} | ||
A [[wall]]. | A [[wall]]. |
Revision as of 17:53, 16 August 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/WallPrototype.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 wall.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
Template:Prototype property Table with the following members:
- single - SpriteVariations - Mandatory.
- straight_vertical - SpriteVariations - Mandatory.
- straight_horizontal - SpriteVariations - Mandatory.
- corner_right_down - SpriteVariations - Mandatory.
- corner_left_down - SpriteVariations - Mandatory.
- t_up - SpriteVariations - Mandatory.
- ending_right - SpriteVariations - Mandatory.
- ending_left - SpriteVariations - Mandatory.
- filling - SpriteVariations - Optional.
- water_connection_patch - Sprite4Way - Optional.
- gate_connection_patch - Sprite4Way - Optional.
Optional properties
Template:Prototype property Different walls will visually connect to each other if their merge group is the same.
Template:Prototype property The maximum circuit wire distance for this entity.