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
Template:Prototype parent An inserter.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Template:Prototype property Defines how this inserter gets energy. The emissions set on the energy source are ignored so inserters cannot produce pollution.
Optional properties
Template:Prototype property Whether pickup and insert position can be set run-time.
Template:Prototype property Maximum count of filtered items in inserter is 5.
Template:Prototype property 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.
Template:Prototype property The maximum circuit wire distance for this entity.
Template:Prototype property Whether the yellow arrow that indicates the drop point of the inserter and the line that indicates the pickup position should be drawn.