Prototype/Loader1x2: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(belt_distance, belt_length, container_distance description)
(Removed old prototype docs)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/TransportBeltConnectable}}
<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/LoaderPrototype.html https://lua-api.factorio.com/latest/prototypes/LoaderPrototype.html]
Continuously loads and unloads machines, as an alternative to inserters.


{{Prototype TOC|loader}}
</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/TransportBeltConnectable]].
 
{{Prototype property|structure|[[Types/table|table]]}}
Table with the following members:
 
* direction_in - [[Types/Sprite4Way|Sprite4Way]] - Mandatory.
* direction_out - [[Types/Sprite4Way|Sprite4Way]] - Mandatory.
* back_patch - [[Types/Sprite4Way|Sprite4Way]] - Optional.
* front_patch - [[Types/Sprite4Way|Sprite4Way]] - Optional.
 
{{Prototype property|filter_count|[[Types/uint8|uint8]]}}
How many item filters this loader has. Maximum count of filtered items in loader is 5.
 
== Optional properties ==
 
{{Prototype property|structure_render_layer|[[Types/RenderLayer|RenderLayer]]|"transport-belt-circuit-connector"|optional=true}}
 
{{Prototype property|container_distance|[[Types/double|double]]|1.5|optional=true}}
The distance between the position of this loader and the tile of the loader's container target.
 
{{Prototype property|belt_distance|[[Types/double|double]]|0.5|optional=true}}
The distance between the position of this loader and the tile of the loader's belt target. Should be the same as <code>belt_length</code>.
 
{{Prototype property|belt_length|[[Types/double|double]]|0.5|optional=true}}
How long this loader's belt is. Should be the same as <code>belt_distance</code>.

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/LoaderPrototype.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.