Prototype/Inserter: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(→‎energy_source: can't produce pollution)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
== Basics ==
== Basics ==
Prototype type: '''inserter'''
Prototype type: '''inserter'''

Revision as of 15:48, 24 July 2019

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


Basics

Prototype type: inserter

An inserter. Based on Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

extension_speed

Type: Types/double

rotation_speed

Type: Types/double

insert_position

Type: Types/vector

pickup_position

Type: Types/vector

platform_picture

Type: Types/Sprite4Way

hand_base_picture

Type: Types/Sprite

hand_open_picture

Type: Types/Sprite

hand_closed_picture

Type: Types/Sprite

hand_base_shadow

Type: Types/Sprite

hand_open_shadow

Type: Types/Sprite

hand_closed_shadow

Type: Types/Sprite

energy_source

Type: Types/EnergySource

Defines how this inserter gets energy. The emissions set on the energy source are ignored so inserters cannot produce pollution.

Optional properties

energy_per_movement

Type: Types/Energy

energy_per_rotation

Type: Types/Energy

stack

Type: Types/bool

Default: false

allow_custom_vectors

Type: Types/bool

Default: false

Whether pickup and insert position can be set run-time.

draw_held_item

Type: Types/bool

Default: true

filter_count

Type: Types/uint8

Default: 0

Maximum count of filtered items in inserter is 5.

hand_size

Type: Types/double

Default: 0.75

Used to determine how long the arm of the inserter is when drawing it. Does not affect gameplay. The lower the value, the straighter the arm. Increasing the value will give the inserter a bigger bend due to its longer parts.

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

default_stack_control_input_signal

Type: Types/SignalIDConnector

circuit_wire_connection_points

Type: Types/table of Types/WireConnectionPoint

circuit_connector_sprites

Type: Types/table of Types/CircuitConnectorSprites