Code: Select all
{
type = "deconstruction-item",
name = "PlannerTest-deconstruction-item",
icon = "__base__/graphics/icons/hazard-concrete.png",
icon_size = 64, icon_mipmaps = 4,
subgroup = "tool",
order = "zz",
stack_size = 1,
selection_color = {1, 0, 0},
alt_selection_color = {0, 0, 1},
selection_mode = {"deconstruct"},
alt_selection_mode = {"cancel-deconstruct"},
selection_cursor_box_type = "not-allowed",
alt_selection_cursor_box_type = "not-allowed",
entity_type_filters = {"ammo-turret", "artillery-turret"},
alt_entity_type_filters = {"ammo-turret", "artillery-turret"},
},
If I make a pretty much identical item but based on a selection-tool, it only highlights the specified turret types as expected...
Code: Select all
{
type = "selection-tool",
name = "PlannerTest-selection-tool",
icon = "__base__/graphics/icons/concrete.png",
icon_size = 64, icon_mipmaps = 4,
subgroup = "tool",
order = "zz",
stack_size = 1,
selection_color = {1, 0, 0},
alt_selection_color = {0, 0, 1},
selection_mode = {"deconstruct"},
alt_selection_mode = {"cancel-deconstruct"},
selection_cursor_box_type = "not-allowed",
alt_selection_cursor_box_type = "not-allowed",
entity_type_filters = {"ammo-turret", "artillery-turret"},
alt_entity_type_filters = {"ammo-turret", "artillery-turret"},
},