Prototype/Loader1x1: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.18.10)
(1.1.75: Added LoaderPrototype::allow_rail_interaction and allow_container_interaction)
Line 28: Line 28:
{{Prototype property|container_distance|[[Types/double|double]]|1.5|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.
The distance between the position of this loader and the tile of the loader's container target.
{{Prototype property|allow_rail_interaction|[[Types/bool|bool]]|true|optional=true}}
Whether the loader can load and unload [[Prototype/RollingStock|rolling stock]].
{{Prototype property|allow_container_interaction|[[Types/bool|bool]]|true|optional=true}}
Whether the loader can load and unload stationary inventories such as containers and crafting machines.


{{Prototype property|belt_length|[[Types/double|double]]|0.5|optional=true}}
{{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.
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.

Revision as of 12:24, 29 March 2023

Template:Prototype parent Continuously loads and unloads machines, as an alternative to inserters.
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.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/TransportBeltConnectable.

Template:Prototype property Table with the following members:

Template:Prototype property How many item filters this loader has. Maximum count of filtered items in loader is 5.

Optional properties

Template:Prototype property

Template:Prototype property The distance between the position of this loader and the tile of the loader's container target.

Template:Prototype property Whether the loader can load and unload rolling stock.

Template:Prototype property Whether the loader can load and unload stationary inventories such as containers and crafting machines.

Template:Prototype property 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.