Factorio Prototype DocsVersion 2.1.8

SelectionModeFlags - Prototype Docs

SelectionModeFlags :: union or array[union] changed

An array containing the following values.

Some flags only exclude objects from the selection, meaning they need to be combined with another flag to select anything.

Union members

"blueprint"

Excludes entities and tiles that can't be selected for blueprinting.

"deconstruct"

Excludes entities and tiles that can't be selected for deconstruction.

"cancel-deconstruct"

Excludes entities that can't be selected 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"

Excludes entities that have a different force than the selecting player from the selection.

"not-same-force"

Excludes entities that have the same force as the selecting player from the selection.

"friend"

Excludes entities that are not from a friendly force from the selection.

"enemy"

Excludes entities that are not from an enemy force from the selection.

"upgrade"

Excludes entities that can't be selected for upgrading.

"cancel-upgrade"

Excludes entities that can't be selected for upgrade cancellation.

"downgrade"

Excludes entities that can't be selected 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"

Excludes RollingStockPrototypes from the selection.

"avoid-vehicle"

Excludes VehiclePrototypes from the selection.

"controllable"
"controllable-add"
"controllable-remove"
"entity-ghost"

Selects entities that are an EntityGhostPrototype.

"tile-ghost"

Selects entities that are a TileGhostPrototype.

Fulltext search

Prototypes

Types

Defines

Fulltext search for