Prototype/Combinator: Difference between revisions

From Official Factorio Wiki
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.


== Basics ==
{{Prototype TOC|''abstract''}}
This type is abstract and cannot be created directly.
 
Extends [[Prototype/EntityWithHealth]].


== Extensions ==
== Extensions ==
Line 14: Line 12:
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].


=== energy_source ===
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}}
'''Type''': [[Types/EnergySource]]
 
Must be an electric or void energy source.
Must be an electric or void energy source.


=== active_energy_usage ===
{{Prototype property|active_energy_usage|[[Types/Energy|Energy]]}}
'''Type''': [[Types/Energy]]
 
=== sprites ===
'''Type''': [[Types/Sprite4Way]]


=== activity_led_sprites ===
{{Prototype property|sprites|[[Types/Sprite4Way|Sprite4Way]]}}
'''Type''': [[Types/Sprite4Way]]


=== input_connection_bounding_box ===
{{Prototype property|activity_led_sprites|[[Types/Sprite4Way|Sprite4Way]]}}
'''Type''': [[Types/BoundingBox]]


=== output_connection_bounding_box ===
{{Prototype property|input_connection_bounding_box|[[Types/BoundingBox|BoundingBox]]}}
'''Type''': [[Types/BoundingBox]]


=== activity_led_light_offsets ===
{{Prototype property|output_connection_bounding_box|[[Types/BoundingBox|BoundingBox]]}}
'''Type''': [[Types/table]] of [[Types/vector]]


{{Prototype property|activity_led_light_offsets|[[Types/table|table]] of [[Types/vector|vector]]}}
Array of 4 vectors.
Array of 4 vectors.


=== screen_light_offsets ===
{{Prototype property|screen_light_offsets|[[Types/table|table]] of [[Types/vector|vector]]}}
'''Type''': [[Types/table]] of [[Types/vector]]
 
Array of 4 vectors.
Array of 4 vectors.


=== input_connection_points ===
{{Prototype property|input_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]}}
'''Type''': [[Types/table]] of [[Types/WireConnectionPoint]]
 
Array of 4 WireConnectionPoints.
Array of 4 WireConnectionPoints.


=== output_connection_points ===
{{Prototype property|output_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]}}
'''Type''': [[Types/table]] of [[Types/WireConnectionPoint]]
 
Array of 4 WireConnectionPoints.
Array of 4 WireConnectionPoints.


== Optional properties ==
== Optional properties ==


=== activity_led_light ===
{{Prototype property|activity_led_light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
'''Type''': [[Types/LightDefinition]]


=== screen_light ===
{{Prototype property|screen_light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
'''Type''': [[Types/LightDefinition]]


=== activity_led_hold_time ===
{{Prototype property|activity_led_hold_time|[[Types/uint8|uint8]]|5|optional=true}}
'''Type''': [[Types/uint8]]
 
'''Default''': 5
 
=== circuit_wire_max_distance ===
'''Type''': [[Types/double]]
 
'''Default''': 0


{{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.


=== draw_copper_wires ===
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}}
'''Type''': [[Types/bool]]
 
'''Default''': true
 
=== draw_circuit_wires ===
'''Type''': [[Types/bool]]


'''Default''': 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.

Template:Prototype TOC

Extensions

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

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

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

Template:Prototype property

Template:Prototype property

Template:Prototype property The maximum circuit wire distance for this entity.

Template:Prototype property

Template:Prototype property