Prototype/Combinator: Difference between revisions
(Converted to SMW format) |
(1.1.51: Prototype/EntityWithOwner added) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/ | {{Prototype parent|Prototype/EntityWithOwner}} | ||
Abstract base type for decider and arithmetic combinators. | Abstract base type for decider and arithmetic combinators. | ||
Line 10: | Line 10: | ||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/ | This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | ||
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} | {{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} |
Latest revision as of 19:26, 21 January 2022
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Combinator
Abstract base type for decider and arithmetic combinators.
Extensions
- Prototype/ArithmeticCombinator arithmetic-combinator
- Prototype/DeciderCombinator decider-combinator
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
energy_source
Type: EnergySource
Must be an electric or void energy source.
active_energy_usage
Type: Energy
sprites
Type: Sprite4Way
activity_led_sprites
Type: Sprite4Way
input_connection_bounding_box
Type: BoundingBox
output_connection_bounding_box
Type: BoundingBox
activity_led_light_offsets
Type: table of vector
Array of 4 vectors.
screen_light_offsets
Type: table of vector
Array of 4 vectors.
input_connection_points
Type: table of WireConnectionPoint
Array of 4 WireConnectionPoints.
output_connection_points
Type: table of WireConnectionPoint
Array of 4 WireConnectionPoints.
Optional properties
activity_led_light
Type: LightDefinition
screen_light
Type: LightDefinition
activity_led_hold_time
Type: uint8
Default: 5
circuit_wire_max_distance
Type: double
Default: 0
The maximum circuit wire distance for this entity.
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true