Prototype/Loader1x2: Difference between revisions
(0.17.67) |
(belt_distance, belt_length, container_distance description) |
||
Line 16: | Line 16: | ||
{{Prototype property|filter_count|[[Types/uint8|uint8]]}} | {{Prototype property|filter_count|[[Types/uint8|uint8]]}} | ||
Maximum count of filtered items in loader is 5. | How many item filters this loader has. Maximum count of filtered items in loader is 5. | ||
== Optional properties == | == Optional properties == | ||
Line 23: | Line 23: | ||
{{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. | |||
{{Prototype property|belt_distance|[[Types/double|double]]|0.5|optional=true}} | {{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}} | {{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>. |
Revision as of 06:17, 28 September 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/TransportBeltConnectable » Prototype/Loader1x2
Continuously loads and unloads machines, as an alternative to inserters.
Mandatory properties
This prototype inherits all the properties from Prototype/TransportBeltConnectable.
structure
Type: table
Table with the following members:
- direction_in - Sprite4Way - Mandatory.
- direction_out - Sprite4Way - Mandatory.
- back_patch - Sprite4Way - Optional.
- front_patch - Sprite4Way - Optional.
filter_count
Type: uint8
How many item filters this loader has. Maximum count of filtered items in loader is 5.
Optional properties
structure_render_layer
Type: RenderLayer
Default: "transport-belt-circuit-connector"
container_distance
Type: double
Default: 1.5
The distance between the position of this loader and the tile of the loader's container target.
belt_distance
Type: double
Default: 0.5
The distance between the position of this loader and the tile of the loader's belt target. Should be the same as belt_length
.
belt_length
Type: double
Default: 0.5
How long this loader's belt is. Should be the same as belt_distance
.