Prototype/Wall: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Basics == Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from Prototype/EntityWithHealth. === pictures =...") |
(→Mandatory properties: better format) |
||
Line 7: | Line 7: | ||
'''Type''': [[Types/table]] | '''Type''': [[Types/table]] | ||
Table with the following members: | |||
Mandatory. | * single - [[Types/SpriteVariations]] - Mandatory. | ||
* straight_vertical - [[Types/SpriteVariations]] - Mandatory. | |||
* straight_horizontal - [[Types/SpriteVariations]] - Mandatory. | |||
* corner_right_down - [[Types/SpriteVariations]] - Mandatory. | |||
* corner_left_down - [[Types/SpriteVariations]] - Mandatory. | |||
Mandatory. | * t_up - [[Types/SpriteVariations]] - Mandatory. | ||
* ending_right - [[Types/SpriteVariations]] - Mandatory. | |||
* ending_left - [[Types/SpriteVariations]] - Mandatory. | |||
* water_connection_patch - [[Types/Sprite4Way]] - Optional. | |||
Mandatory. | |||
Mandatory. | |||
Mandatory. | |||
Mandatory. | |||
Mandatory. | |||
Mandatory. | |||
Optional. | |||
== Optional properties == | == Optional properties == |
Revision as of 18:53, 22 August 2018
Basics
Extends Prototype/EntityWithHealth.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
pictures
Type: Types/table
Table with the following members:
- single - Types/SpriteVariations - Mandatory.
- straight_vertical - Types/SpriteVariations - Mandatory.
- straight_horizontal - Types/SpriteVariations - Mandatory.
- corner_right_down - Types/SpriteVariations - Mandatory.
- corner_left_down - Types/SpriteVariations - Mandatory.
- t_up - Types/SpriteVariations - Mandatory.
- ending_right - Types/SpriteVariations - Mandatory.
- ending_left - Types/SpriteVariations - Mandatory.
- water_connection_patch - Types/Sprite4Way - Optional.
Optional properties
circuit_wire_connection_point
Type: Types/WireConnectionPoint
circuit_wire_max_distance
Type: Types/double
Default: 0
circuit_connector_sprites
Type: Types/CircuitConnectorSprites
default_output_signal
Type: Types/SignalIDConnector
wall_diode_green
Type: Types/Sprite
wall_diode_red
Type: Types/Sprite
wall_diode_green_light
Type: Types/LightDefinition
wall_diode_red_light
Type: Types/LightDefinition
connected_gate_visualization
Type: Types/Sprite