Prototype/ConstantCombinator: Difference between revisions
Jump to navigation
Jump to search
(Added prototype type to page) |
(1.1.51: Prototype/EntityWithOwner added) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithOwner}} | |||
A [[constant combinator]]. | |||
{{Prototype TOC|constant-combinator}} | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/ | This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | ||
{{Prototype property|item_slot_count|[[Types/uint32|uint32]]}} | |||
{{Prototype property|sprites|[[Types/Sprite4Way|Sprite4Way]]}} | |||
{{Prototype property|activity_led_sprites|[[Types/Sprite4Way|Sprite4Way]]}} | |||
{{Prototype property|activity_led_light_offsets|[[Types/table|table]] of [[Types/vector|vector]]}} | |||
Array of 4 vectors. | Array of 4 vectors. | ||
{{Prototype property|circuit_wire_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|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}} | |||
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}} |
Latest revision as of 19:26, 21 January 2022
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/ConstantCombinator
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
item_slot_count
Type: uint32
sprites
Type: Sprite4Way
activity_led_sprites
Type: Sprite4Way
activity_led_light_offsets
Type: table of vector
Array of 4 vectors.
circuit_wire_connection_points
Type: table of WireConnectionPoint
Array of 4 WireConnectionPoints.
Optional properties
activity_led_light
Type: LightDefinition
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