Prototype/Inserter: Difference between revisions
(Set prototype parent) |
(Converted to SMW format, 0.17.61) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | {{Prototype parent|Prototype/EntityWithHealth}} | ||
An [[inserter]]. | |||
{{Prototype TOC|inserter}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|extension_speed|[[Types/double|double]]|}} | |||
{{Prototype property|rotation_speed|[[Types/double|double]]}} | |||
{{Prototype property|insert_position|[[Types/vector|vector]]}} | |||
{{Prototype property|pickup_position|[[Types/vector|vector]]}} | |||
{{Prototype property|platform_picture|[[Types/Sprite4Way|Sprite4Way]]}} | |||
{{Prototype property|hand_base_picture|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|hand_open_picture|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|hand_closed_picture|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|hand_base_shadow|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|hand_open_shadow|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|hand_closed_shadow|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} | |||
Defines how this inserter gets energy. The emissions set on the energy source are ignored so inserters cannot produce pollution. | Defines how this inserter gets energy. The emissions set on the energy source are ignored so inserters cannot produce pollution. | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property|energy_per_movement|[[Types/Energy|Energy]]|optional=true}} | |||
= | |||
{{Prototype property|energy_per_rotation|[[Types/Energy|Energy]]|optional=true}} | |||
{{Prototype property|stack|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|allow_custom_vectors|[[Types/bool|bool]]|false|optional=true}} | |||
Whether pickup and insert position can be set run-time. | Whether pickup and insert position can be set run-time. | ||
{{Prototype property|draw_held_item|[[Types/bool|bool]]|true|optional=true}} | |||
= | |||
{{Prototype property|filter_count|[[Types/uint8|uint8]]|0|optional=true}} | |||
Maximum count of filtered items in inserter is 5. | Maximum count of filtered items in inserter is 5. | ||
{{Prototype property|hand_size|[[Types/double|double]]|0.75|optional=true}} | |||
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. | 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. | ||
{{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. | ||
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|default_stack_control_input_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}} | |||
{{Prototype property|draw_inserter_arrow|[[Types/bool|bool]]|true|optional=true}} | |||
Whether the yellow arrow that indicates the drop point of the inserter and the line that indicates the pickup position should be drawn. | |||
{{Prototype property|circuit_wire_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}} | |||
{{Prototype property|circuit_connector_sprites|[[Types/table|table]] of [[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}} | |||
Revision as of 15:37, 5 August 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Inserter
An inserter.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
extension_speed
Type: double
rotation_speed
Type: double
insert_position
Type: vector
pickup_position
Type: vector
platform_picture
Type: Sprite4Way
hand_base_picture
Type: Sprite
hand_open_picture
Type: Sprite
hand_closed_picture
Type: Sprite
hand_base_shadow
Type: Sprite
hand_open_shadow
Type: Sprite
hand_closed_shadow
Type: Sprite
energy_source
Type: 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: Energy
energy_per_rotation
Type: Energy
stack
Type: bool
Default: false
allow_custom_vectors
Type: bool
Default: false
Whether pickup and insert position can be set run-time.
draw_held_item
Type: bool
Default: true
filter_count
Type: uint8
Default: 0
Maximum count of filtered items in inserter is 5.
hand_size
Type: 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: 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
default_stack_control_input_signal
Type: SignalIDConnector
draw_inserter_arrow
Type: bool
Default: true
Whether the yellow arrow that indicates the drop point of the inserter and the line that indicates the pickup position should be drawn.
circuit_wire_connection_points
Type: table of WireConnectionPoint
circuit_connector_sprites
Type: table of CircuitConnectorSprites