Factorio Prototype DocsVersion 2.1.12

SelectionModeData - Prototype Docs

SelectionModeData :: struct changed

Properties

border_color :: Color
count_button_color optional :: Color
chart_color optional :: Color
cursor_box_type :: CursorBoxType
mode :: SelectionModeFlags
entity_filters optional :: array[EntityID]
entity_type_filters optional :: array[string]
tile_filters optional :: array[TileID]
started_sound optional :: Sound
ended_sound optional :: Sound
play_ended_sound_when_nothing_selected optional :: boolean
entity_filter_mode optional :: "whitelist" or "blacklist"
tile_filter_mode optional :: "whitelist" or "blacklist"
ignore_cannot_select_entitiesnew optional :: boolean

If this is false, using any of the mode flags "blueprint", "deconstruct", "cancel-deconstruct", "upgrade", "cancel-upgrade" or "downgrade" without also specifying another flag that selects entities will result in an error, because the selection tool cannot select any entities and this is likely undesired behavior. [...]

If this is false, using any of the mode flags "blueprint", "deconstruct", "cancel-deconstruct", "upgrade", "cancel-upgrade" or "downgrade" without also specifying another flag that selects entities will result in an error, because the selection tool cannot select any entities and this is likely undesired behavior. [...]

ignore_cannot_select_tilesnew optional :: boolean

If this is false, using any of the mode flags "blueprint" or "deconstruct" without also specifying any flag that selects tiles will result in an error, because the selection tool cannot select any tiles and this is likely undesired behavior. [...]

If this is false, using any of the mode flags "blueprint" or "deconstruct" without also specifying any flag that selects tiles will result in an error, because the selection tool cannot select any tiles and this is likely undesired behavior. [...]

Properties

border_color :: Color

count_button_color :: Color optional

Default: Value of border_color

chart_color :: Color optional

Default: Value of border_color

cursor_box_type :: CursorBoxType

entity_filters :: array[EntityID] optional

entity_type_filters :: array[string] optional

tile_filters :: array[TileID] optional

started_sound :: Sound optional

ended_sound :: Sound optional

play_ended_sound_when_nothing_selected :: boolean optional

Default: false

entity_filter_mode :: "whitelist" or "blacklist" optional

Default: "whitelist"

tile_filter_mode :: "whitelist" or "blacklist" optional

Default: "whitelist"

ignore_cannot_select_entities :: boolean optional new

Default: false

If this is false, using any of the mode flags "blueprint", "deconstruct", "cancel-deconstruct", "upgrade", "cancel-upgrade" or "downgrade" without also specifying another flag that selects entities will result in an error, because the selection tool cannot select any entities and this is likely undesired behavior.

Setting this to true disables this error.

ignore_cannot_select_tiles :: boolean optional new

Default: false

If this is false, using any of the mode flags "blueprint" or "deconstruct" without also specifying any flag that selects tiles will result in an error, because the selection tool cannot select any tiles and this is likely undesired behavior.

Setting this to true disables this error.

Fulltext search

Prototypes

Types

Defines

Fulltext search for