Prototype/Combinator: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Basics == Extends Prototype/EntityWithHealth. == Extensions == * Prototype/ArithmeticCombinator '''arithmetic-combinator''' * Prototype/DeciderCombinator '''d...") |
(Added prototype type to page) |
||
Line 1: | Line 1: | ||
== Basics == | == Basics == | ||
This type is abstract and cannot be created directly. | |||
Extends [[Prototype/EntityWithHealth]]. | Extends [[Prototype/EntityWithHealth]]. | ||
Revision as of 16:27, 21 January 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 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