Prototype/Combinator
Revision as of 18:31, 22 August 2018 by Bilka (talk | contribs) (Created page with "== Basics == Extends Prototype/EntityWithHealth. == Extensions == * Prototype/ArithmeticCombinator '''arithmetic-combinator''' * Prototype/DeciderCombinator '''d...")
Basics
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 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