But I have problem with deconstruction planner which ignores these flags and the items are shown. I'm thinking about creating new item group and subgroup and put them there so they are in their own place.
Code: Select all
data:extend(
{
{
type = "item-group",
name = "wide-chests",
order = "wide-chests",
icon = "__base__/graphics/item-group/logistics.png",
icon_size = 64
},
{
type = "item-subgroup",
name = "wide-chests-w",
group = "wide-chests",
order = "a",
},
{
type = "item",
name = "wide-chest-2",
icon = "__base__/graphics/icons/steel-chest.png",
icon_size = 32,
flags = { "hidden" },
subgroup = "wide-chests-w",
order = "wide-chest-2",
place_result = "wide-chest-2",
stack_size = 50
},
})
It even ignores order and if I rewrite its order to "zzzzzzzz" it still appears before storage tanks which have order "b[fluid]-a[storage-tank]"
I'm attaching whole mod for anyone to try. Any ideas on how to get those items into new group?