Prototype/Wall
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.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Wall
A wall.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
pictures
Type: table
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
visual_merge_group
Type: uint32
Default: 0
Different walls will visually connect to each other if their merge group is the same.
circuit_wire_connection_point
Type: WireConnectionPoint
circuit_wire_max_distance
Type: double
Default: 0
The maximum circuit wire distance for this entity.
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true
circuit_connector_sprites
Type: CircuitConnectorSprites
default_output_signal
Type: SignalIDConnector
wall_diode_green
Type: Sprite4Way
wall_diode_red
Type: Sprite4Way
wall_diode_green_light_top
Type: LightDefinition
wall_diode_green_light_right
Type: LightDefinition
wall_diode_green_light_bottom
Type: LightDefinition
wall_diode_green_light_left
Type: LightDefinition
wall_diode_red_light_top
Type: LightDefinition
wall_diode_red_light_right
Type: LightDefinition
wall_diode_red_light_bottom
Type: LightDefinition
wall_diode_red_light_left
Type: LightDefinition
connected_gate_visualization
Type: Sprite