set_slot(slot_index, filter) | Sets logistic request and auto-trash slot to the given value. [...] | |
Sets logistic request and auto-trash slot to the given value. [...] | ||
get_slot(slot_index) | → LogisticFilter | Gets current settings of logistic request and auto-trash from the given slot. |
Gets current settings of logistic request and auto-trash from the given slot. | ||
clear_slot(slot_index) | Clears the logistic request and auto-trash from the given slot. [...] | |
Clears the logistic request and auto-trash from the given slot. [...] | ||
owner | :: R LuaEntity | The LuaEntity owner of this LuaLogisticSection. |
The LuaEntity owner of this LuaLogisticSection. | ||
index | :: R uint | The section index of this section. |
The section index of this section. | ||
filters | :: RW array[LogisticFilter] | The logistic filters for this section. [...] |
The logistic filters for this section. [...] | ||
filters_count | :: R uint | Amount of filters this section has |
Amount of filters this section has | ||
group | :: RW string | The group this section belongs to. [...] |
The group this section belongs to. [...] | ||
type | :: R defines.logistic_section_type | The type of this logistic section. [...] |
The type of this logistic section. [...] | ||
is_manual | :: R boolean | Shortcut to check whether LuaLogisticSection::type is equal to manual. |
Shortcut to check whether LuaLogisticSection::type is equal to manual. | ||
active | :: RW boolean | Whether this section is active. [...] |
Whether this section is active. [...] | ||
multiplier | :: RW float | Multiplier applied to all filters before they are used by game. [...] |
Multiplier applied to all filters before they are used by game. [...] | ||
valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] |
slot_index | :: LogisticFilterIndex | Index of a slot to set. |
Index of a slot to set. | ||
filter | :: LogisticFilter | The details of the filter to set. |
The details of the filter to set. |
on_entity_logistic_slot_changed? instantly | Raised if setting of logistic slot was successful. |