Prototype/Combinator: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
== Basics ==
== Basics ==
This type is abstract and cannot be created directly.
This type is abstract and cannot be created directly.

Revision as of 15:44, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Combinator


Basics

This type is abstract and cannot be created directly.

Extends Prototype/EntityWithHealth.

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

energy_source

Type: Types/EnergySource

Must be an electric or void 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

The maximum circuit wire distance for this entity.

draw_copper_wires

Type: Types/bool

Default: true

draw_circuit_wires

Type: Types/bool

Default: true