Prototype/Inserter: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(Removed old prototype docs)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Basics ==
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/InserterPrototype.html https://lua-api.factorio.com/latest/prototypes/InserterPrototype.html]
Prototype type: '''inserter'''


An [[inserter]]. Based on [[Prototype/EntityWithHealth]].
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
 
=== extension_speed ===
'''Type''': [[Types/double]]
 
=== rotation_speed ===
'''Type''': [[Types/double]]
 
=== energy_per_movement ===
'''Type''': [[Types/double]]
 
=== energy_per_rotation ===
'''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.
 
== Optional properties ==
=== 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
 
=== circuit_wire_max_distance ===
'''Type''': [[Types/double]]
 
'''Default''': 0
 
=== 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]]

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/InserterPrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.