Prototype/Wall: Difference between revisions
(Converted to SMW format) |
(0.17.67) |
||
Line 23: | Line 23: | ||
== Optional properties == | == 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_connection_point|[[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}} |
Revision as of 20:14, 3 September 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Wall
A wall.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
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