Prototype/Wall: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(0.17)
Line 19: Line 19:
* ending_right - [[Types/SpriteVariations]] - Mandatory.
* ending_right - [[Types/SpriteVariations]] - Mandatory.
* ending_left - [[Types/SpriteVariations]] - Mandatory.
* ending_left - [[Types/SpriteVariations]] - Mandatory.
* filling - [[Types/SpriteVariations]] - Optional.
* water_connection_patch - [[Types/Sprite4Way]] - Optional.
* water_connection_patch - [[Types/Sprite4Way]] - Optional.
* gate_connection_patch - [[Types/Sprite4Way]] - Optional.


== Optional properties ==
== Optional properties ==
Line 30: Line 32:


'''Default''': 0
'''Default''': 0
The maximum circuit wire distance for this entity.
=== draw_copper_wires ===
'''Type''': [[Types/bool]]
'''Default''': true
=== draw_circuit_wires ===
'''Type''': [[Types/bool]]


=== circuit_connector_sprites ===
=== circuit_connector_sprites ===
Line 38: Line 50:


=== wall_diode_green ===
=== wall_diode_green ===
'''Type''': [[Types/Sprite]]
'''Type''': [[Types/Sprite4Way]]


=== wall_diode_red ===
=== wall_diode_red ===
'''Type''': [[Types/Sprite]]
'''Type''': [[Types/Sprite4Way]]
 
=== wall_diode_green_light_top ===
'''Type''': [[Types/LightDefinition]]
 
=== wall_diode_green_light_right ===
'''Type''': [[Types/LightDefinition]]
 
=== wall_diode_green_light_bottom ===
'''Type''': [[Types/LightDefinition]]
 
=== wall_diode_green_light_left ===
'''Type''': [[Types/LightDefinition]]
 
=== wall_diode_red_light_top ===
'''Type''': [[Types/LightDefinition]]
 
=== wall_diode_red_light_right ===
'''Type''': [[Types/LightDefinition]]


=== wall_diode_green_light ===
=== wall_diode_red_light_bottom ===
'''Type''': [[Types/LightDefinition]]
'''Type''': [[Types/LightDefinition]]


=== wall_diode_red_light ===
=== wall_diode_red_light_left ===
'''Type''': [[Types/LightDefinition]]
'''Type''': [[Types/LightDefinition]]


=== connected_gate_visualization ===
=== connected_gate_visualization ===
'''Type''': [[Types/Sprite]]
'''Type''': [[Types/Sprite]]

Revision as of 10:47, 6 March 2019

Basics

Prototype type: wall

Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

pictures

Type: Types/table

Table with the following members:

Optional properties

circuit_wire_connection_point

Type: Types/WireConnectionPoint

circuit_wire_max_distance

Type: Types/double

Default: 0

The maximum circuit wire distance for this entity.

draw_copper_wires

Type: Types/bool

Default: true

draw_circuit_wires

Type: Types/bool

circuit_connector_sprites

Type: Types/CircuitConnectorSprites

default_output_signal

Type: Types/SignalIDConnector

wall_diode_green

Type: Types/Sprite4Way

wall_diode_red

Type: Types/Sprite4Way

wall_diode_green_light_top

Type: Types/LightDefinition

wall_diode_green_light_right

Type: Types/LightDefinition

wall_diode_green_light_bottom

Type: Types/LightDefinition

wall_diode_green_light_left

Type: Types/LightDefinition

wall_diode_red_light_top

Type: Types/LightDefinition

wall_diode_red_light_right

Type: Types/LightDefinition

wall_diode_red_light_bottom

Type: Types/LightDefinition

wall_diode_red_light_left

Type: Types/LightDefinition

connected_gate_visualization

Type: Types/Sprite