Logistic cell of a particular LuaEntity. A "Logistic Cell" is the given name for settings and properties used by what would normally be seen as a "Roboport". A logistic cell however doesn't have to be attached to the roboport entity (the character has one for the personal roboport).
floatunknownfalseLogistic radius of this cell.
floatunknownfalseLogistic connection distance of this cell.
floatunknownfalseConstruction radius of this cell.
uint32unknownfalseNumber of stationed logistic robots in this cell.
uint32unknownfalseNumber of stationed construction robots in this cell.
booleanunknownfalsetrue if this is a mobile cell. The logistic cell created by roboport equipment considered is mobile.
booleanunknownfalsetrue if this cell is active.
floatunknownfalseRadius at which the robots hover when waiting to be charged.
uint32unknownfalseNumber of robots currently charging.
uint32unknownfalseNumber of robots waiting to charge.
LuaEntityunknownfalseThis cell's owner.
LuaLogisticNetworkunknowntrueThe network that owns this cell, if any.
Array<LuaLogisticCell>unknownfalseNeighbouring cells.
Array<LuaEntity>unknownfalseRobots currently being charged.
Array<LuaEntity>unknownfalseRobots waiting to charge.
booleanunknownfalseIs 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.
stringunknownfalseThe 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.
LuaLogisticCell.is_in_logistic_range(position: MapPosition) -> boolean
logisticCell.is_in_logistic_range(position)
takes_table: falsetable_optional: falseIs a given position within the logistic range of this cell?
position: MapPositionbooleanLuaLogisticCell.is_in_construction_range(position: MapPosition) -> boolean
logisticCell.is_in_construction_range(position)
takes_table: falsetable_optional: falseIs a given position within the construction range of this cell?
position: MapPositionbooleanLuaLogisticCell.is_neighbour_with(other: LuaLogisticCell) -> boolean
logisticCell.is_neighbour_with(other)
takes_table: falsetable_optional: falseAre two cells neighbours?
other: LuaLogisticCellboolean