Prototype/Wall: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17.67)
(Removed old prototype docs)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
<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/WallPrototype.html https://lua-api.factorio.com/latest/prototypes/WallPrototype.html]
A [[wall]].


{{Prototype TOC|wall}}
</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 ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
 
{{Prototype property|pictures|[[Types/table|table]]}}
Table with the following members:
 
* single - [[Types/SpriteVariations|SpriteVariations]] - Mandatory.
* straight_vertical - [[Types/SpriteVariations|SpriteVariations]] - Mandatory.
* straight_horizontal - [[Types/SpriteVariations|SpriteVariations]] - Mandatory.
* corner_right_down - [[Types/SpriteVariations|SpriteVariations]] - Mandatory.
* corner_left_down - [[Types/SpriteVariations|SpriteVariations]] - Mandatory.
* t_up - [[Types/SpriteVariations|SpriteVariations]] - Mandatory.
* ending_right - [[Types/SpriteVariations|SpriteVariations]] - Mandatory.
* ending_left - [[Types/SpriteVariations|SpriteVariations]] - Mandatory.
* filling - [[Types/SpriteVariations|SpriteVariations]] - Optional.
* water_connection_patch - [[Types/Sprite4Way|Sprite4Way]] - Optional.
* gate_connection_patch - [[Types/Sprite4Way|Sprite4Way]] - Optional.
 
== Optional properties ==
 
{{Prototype property|visual_merge_group|[[Types/uint32|uint32]]|0|optional=true}}
Different walls will visually connect to each other if their merge group is the same.
 
{{Prototype property|circuit_wire_connection_point|[[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}}
 
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}}
The maximum circuit wire distance for this entity.
 
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}}
 
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}}
 
{{Prototype property|circuit_connector_sprites|[[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}}
 
{{Prototype property|default_output_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}}
 
{{Prototype property|wall_diode_green|[[Types/Sprite4Way|Sprite4Way]]|optional=true}}
 
{{Prototype property|wall_diode_red|[[Types/Sprite4Way|Sprite4Way]]|optional=true}}
 
{{Prototype property|wall_diode_green_light_top|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|wall_diode_green_light_right|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|wall_diode_green_light_bottom|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|wall_diode_green_light_left|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|wall_diode_red_light_top|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|wall_diode_red_light_right|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|wall_diode_red_light_bottom|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|wall_diode_red_light_left|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|connected_gate_visualization|[[Types/Sprite|Sprite]]|optional=true}}

Latest revision as of 14:33, 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/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.