Prototype/Loader1x1: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.18)
 
(Removed old prototype docs)
 
(6 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/Loader1x1Prototype.html https://lua-api.factorio.com/latest/prototypes/Loader1x1Prototype.html]
Continuously loads and unloads machines, as an alternative to inserters.<br>
This loader type is identical to [[Prototype/Loader1x2]] with the exception of its hardcoded belt_distance:
* The belt_distance of the loader determines the distance between the position of this loader and the tile of the loader's belt target.
* This loader type always has a belt_distance of 0, meaning by default it is 1 tile long in total.
* For a loader type with a belt_distance of 0.5, see [[Prototype/Loader1x2]].


{{Prototype TOC|loader-1x1}}
</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_length|[[Types/double|double]]|0.5|optional=true}}
How long this loader's belt is. Should be the same as belt_distance, which is hardcoded to 0 for this loader type. [[Prototype/Loader1x2]] can be used if a belt_distance of 0.5 is desired.

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