Factorio Prototype DocsVersion 2.0.15

SelectionModeFlags :: union or array[union]

An array containing the following values.

Union members

"blueprint"

Selects entities and tiles as if selecting them for a blueprint.

"deconstruct"

Selects entities and tiles as if selecting them for deconstruction.

"cancel-deconstruct"

Selects entities and tiles as if selecting them for deconstruction cancellation.

"items"

Selects items on the ground.

"trees"

Selects trees.

"buildable-type"

Selects entities which are considered a building, plus landmines.

"nothing"

Selects no entities or tiles, but is useful to select an area.

"items-to-place"

Selects entities and tiles that can be built by an item.

"any-entity"

Selects all entities.

"any-tile"

Selects all tiles.

"same-force"

Selects entities with the same force as the selecting player.

"not-same-force"

Selects entities with a different force as the selecting player.

"friend"

Selects entities from a friendly force.

"enemy"

Selects entities from an enemy force.

"upgrade"

Selects entities as if selecting them for upgrading.

"cancel-upgrade"

Selects entities as if selecting them for upgrade cancellation.

"downgrade"

Selects entities as if selecting them for downgrading.

"entity-with-health"

Selects entities that are an EntityWithHealthPrototype.

"is-military-target"
"entity-with-owner"

Selects entities that are an EntityWithOwnerPrototype.

"avoid-rolling-stock"

Selects entities that are not a RollingStockPrototype.

"avoid-vehicle"
"controllable"
"controllable-add"
"controllable-remove"
"entity-ghost"

Selects entities that are an EntityGhostPrototype.

"tile-ghost"

Selects entities that are a TileGhostPrototype.

Prototypes

Types

Defines