Prototype/Combinator: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | {{Prototype parent|Prototype/EntityWithHealth}} | ||
Abstract base type for decider and arithmetic combinators. | |||
{{Prototype TOC|''abstract''}} | |||
== Extensions == | == Extensions == | ||
Line 14: | Line 12: | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} | |||
Must be an electric or void energy source. | Must be an electric or void energy source. | ||
{{Prototype property|active_energy_usage|[[Types/Energy|Energy]]}} | |||
{{Prototype property|sprites|[[Types/Sprite4Way|Sprite4Way]]}} | |||
{{Prototype property|activity_led_sprites|[[Types/Sprite4Way|Sprite4Way]]}} | |||
{{Prototype property|input_connection_bounding_box|[[Types/BoundingBox|BoundingBox]]}} | |||
{{Prototype property|output_connection_bounding_box|[[Types/BoundingBox|BoundingBox]]}} | |||
{{Prototype property|activity_led_light_offsets|[[Types/table|table]] of [[Types/vector|vector]]}} | |||
Array of 4 vectors. | Array of 4 vectors. | ||
{{Prototype property|screen_light_offsets|[[Types/table|table]] of [[Types/vector|vector]]}} | |||
Array of 4 vectors. | Array of 4 vectors. | ||
{{Prototype property|input_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]}} | |||
Array of 4 WireConnectionPoints. | Array of 4 WireConnectionPoints. | ||
{{Prototype property|output_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]}} | |||
Array of 4 WireConnectionPoints. | Array of 4 WireConnectionPoints. | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property|activity_led_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
{{Prototype property|screen_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
{{Prototype property|activity_led_hold_time|[[Types/uint8|uint8]]|5|optional=true}} | |||
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}} | |||
The maximum circuit wire distance for this entity. | The maximum circuit wire distance for this entity. | ||
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}} | |||
= | |||
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}} |
Revision as of 11:58, 28 July 2019
Template:Prototype parent 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/EntityWithHealth.
Template:Prototype property Must be an electric or void energy source.
Template:Prototype property Array of 4 vectors.
Template:Prototype property Array of 4 vectors.
Template:Prototype property Array of 4 WireConnectionPoints.
Template:Prototype property Array of 4 WireConnectionPoints.
Optional properties
Template:Prototype property The maximum circuit wire distance for this entity.