Prototype/Combinator: Difference between revisions
(Added prototype type to page) |
(0.17) |
||
Line 15: | Line 15: | ||
'''Type''': [[Types/EnergySource]] | '''Type''': [[Types/EnergySource]] | ||
Must be an electric energy source. | Must be an electric or void energy source. | ||
=== active_energy_usage === | === active_energy_usage === | ||
Line 69: | Line 69: | ||
'''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]] | |||
'''Default''': true |
Revision as of 16:04, 9 April 2019
Basics
This type is abstract and cannot be created directly.
Extends Prototype/EntityWithHealth.
Extensions
- Prototype/ArithmeticCombinator arithmetic-combinator
- Prototype/DeciderCombinator decider-combinator
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
energy_source
Type: Types/EnergySource
Must be an electric or void energy source.
active_energy_usage
Type: Types/Energy
sprites
Type: Types/Sprite4Way
activity_led_sprites
Type: Types/Sprite4Way
input_connection_bounding_box
Type: Types/BoundingBox
output_connection_bounding_box
Type: Types/BoundingBox
activity_led_light_offsets
Type: Types/table of Types/vector
Array of 4 vectors.
screen_light_offsets
Type: Types/table of Types/vector
Array of 4 vectors.
input_connection_points
Type: Types/table of Types/WireConnectionPoint
Array of 4 WireConnectionPoints.
output_connection_points
Type: Types/table of Types/WireConnectionPoint
Array of 4 WireConnectionPoints.
Optional properties
activity_led_light
Type: Types/LightDefinition
screen_light
Type: Types/LightDefinition
activity_led_hold_time
Type: Types/uint8
Default: 5
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
Default: true