Factorio API Docs

1.1.51 <>

Class LuaLogisticPoint

Logistic point of a particular LuaEntity. A "Logistic point" is the name given for settings and properties used by requester, provider, and storage points in a given logistic network. These "points" don't have to be a logistic container but often are. One other entity that can own several points is the "character" character type entity.

help()
string

All methods and properties that this object supports.


[R]

The LuaEntity owner of this LuaLogisticPoint.



:: uint
[R]

The Logistic member index of this logistic point.


:: array[LogisticFilter]
[R]

The logistic filters for this logistic point or nil if this doesn't use logistic filters.


[R]

The logistic mode.


[R]

The force of this logistic point.


:: dictionary[stringuint]
[R]

Items targeted to be picked up from this logistic point by robots.


:: dictionary[stringuint]
[R]

Items targeted to be dropped off into this logistic point by robots.


:: boolean
[R]

If this logistic point is using the exact mode.


:: boolean
[R]

Is this object valid?


:: string
[R]

The class name of this object.

Methods

help () → string

All methods and properties that this object supports.

Attributes

owner :: LuaEntity [Read]

The LuaEntity owner of this LuaLogisticPoint.


logistic_network :: LuaLogisticNetwork [Read]


logistic_member_index :: uint [Read]

The Logistic member index of this logistic point.


filters :: array[LogisticFilter] [Read]

The logistic filters for this logistic point or nil if this doesn't use logistic filters.

Note

The returned array will always have an entry for each filter and will be indexed in sequence when not nil.


mode :: defines.logistic_mode [Read]

The logistic mode.


force :: LuaForce [Read]

The force of this logistic point.

Note

This will always be the same as the LuaLogisticPoint::owner force.


targeted_items_pickup :: dictionary[stringuint] [Read]

Items targeted to be picked up from this logistic point by robots.


targeted_items_deliver :: dictionary[stringuint] [Read]

Items targeted to be dropped off into this logistic point by robots.


exact :: boolean [Read]

If this logistic point is using the exact mode. In exact mode robots never over-deliver requests.


valid :: boolean [Read]

Is this object valid? This Lua object holds a reference to an object within the game engine. It is possible that the game-engine object is removed whilst a mod still holds the corresponding Lua object. If that happens, the object becomes invalid, i.e. this attribute will be false. Mods are advised to check for object validity if any change to the game state might have occurred between the creation of the Lua object and its access.


object_name :: string [Read]

The class name of this object. Available even when valid is false. For LuaStruct objects it may also be suffixed with a dotted path to a member of the struct.

|<

Classes

Events

Concepts

Defines

Builtin types

>|