Prototype/Combinator

From Official Factorio Wiki
Revision as of 15:44, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

Template:Prototype parent

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