mode_of_operation

class InserterModeOfOperationMixin(
mode_of_operation=InserterModeOfOperation.ENABLE_DISABLE,
*,
extra_keys: dict[str, Any] | None = None,
)

Gives the Inserter a mode_of_operation attribute.

mode_of_operation : InserterModeOfOperation

Deprecated since version 3.0.0: (Factorio 2.0)

In Factorio 2.0, an inserter can have any combination of these modes defined simultaneously, via attributes like circuit_enabled, circuit_set_filters, circuit_set_stack_size, etc.

This attribute is only respected when exporting for the old Factorio 1.0 format.

Serialized

This attribute is imported/exported from blueprint strings.

The behavior that the inserter should follow when connected to a circuit network, defined as one of several integer “modes”.

class LogisticModeOfOperationMixin(
mode_of_operation=LogisticModeOfOperation.SEND_CONTENTS,
*,
extra_keys: dict[str, Any] | None = None,
)

Gives the logistics container a mode_of_operation attribute.

mode_of_operation : LogisticModeOfOperation

Serialized

This attribute is imported/exported from blueprint strings.

The behavior that the logistic container should follow when connected to a circuit network.