Enumerations of frequently used constants.
- class Direction(value)
Factorio direction enum. Encompasses all 8 cardinal directions and diagonals where north is 0 and increments clockwise.
- class FilterMode(value)
Filter mode constant.
WHITELIST: Include only the listed items. (Default)
BLACKLIST: Exclude only the listed items.
- class InserterModeOfOperation(value)
Inserter circuit control constants. Determines how the Entity should behave when connected to a circuit network.
ENABLE_DISABLE: Turns the inserter on or off depending on the circuit
SET_FILTERS: Sets the inserter’s filter signals based on read signals.
READ_HAND_CONTENTS: Reads the contents of the inserter’s hand and
sends it to the connected wire(s).
NONE: Does nothing.
SET_STACK_SIZE: Sets the stack size override to the value of an input
- class LogisticModeOfOperation(value)
Logistics container circuit control constants. Determines how the Entity should behave when connected to a circuit network.
SEND_CONTENTS: Reads the inventory of the container and sends it to the connected circuit network. (Default)
SET_REQUESTS: Sets the item requests based on the input signals to the container.
- class MiningDrillReadMode(value)
Used to specify whether the mining drill will read the contents beneath it or the entire resource patch.
Determines the manner in which a mining drill reads the resources beneath it.
UNDER_DRILL: Only return the resources directly minable by this drill.
TOTAL_PATCH: Return the entire contents of the ore patches the drill
- class ReadMode(value)
Determines what manner belts and inserters should send their content signal.
PULSE: Pulse the signal for one tick when first detected. (Default)
HOLD: Hold the signal for as long as the item is present.