stack_size

class StackSizeMixin(
override_stack_size: ~typing.Annotated[int,
<draftsman.validators._AndValidator object at 0x7436dd5c5990>] | None = None,
circuit_set_stack_size: bool = False,
stack_size_control_signal: ~typing.Any | None = None,
*,
extra_keys: dict[str,
~typing.Any] | None = None,
)

Gives the entity a stack size attribute. Allows it to give a constant, overridden stack size and a circuit-set stack size.

circuit_set_stack_size : bool

Serialized

This attribute is imported/exported from blueprint strings.

Whether or not the inserter’s stack size is controlled by circuit signal.

override_stack_size : _AndValidator object at 0x7436dd5c5990>] | None

Serialized

This attribute is imported/exported from blueprint strings.

The inserter’s stack size override. Will use this unless a circuit stack size is set and enabled.

stack_size_control_signal : SignalID | None

Serialized

This attribute is imported/exported from blueprint strings.

What circuit network signal should indicate the current stack size, if enabled.