Way to hide recipies from main inventory
Posted: Mon Feb 23, 2015 6:24 pm
Somes mods adds many machines that craft things diferently from in hand crafting, somes of them add a lot of recipies, somes modders make a category and say "don't bother of this category".
The size of the player inventory is dependent to the size of the elements and here the maximum number of line of a crafting category, and I am making a mod that adds dynamicaly 582 recipies (I could reduce that number to 435 but not lower) that are treated like furnace recipies and that user don't need to bother how they are make, because this is basically atomic fusion. (going to chemical element over 118 (or 92 for reduced version) are not possible), it would make a total of 59 lines (or 44), and so the player interface would make a 1888 pixel high scrollbar (1408 for reduced version).
What I am asking is the possibility to hide all recipies for a item-group, item-subgroup or a recipe-category when in player inventory with an option like that :
The size of the player inventory is dependent to the size of the elements and here the maximum number of line of a crafting category, and I am making a mod that adds dynamicaly 582 recipies (I could reduce that number to 435 but not lower) that are treated like furnace recipies and that user don't need to bother how they are make, because this is basically atomic fusion. (going to chemical element over 118 (or 92 for reduced version) are not possible), it would make a total of 59 lines (or 44), and so the player interface would make a 1888 pixel high scrollbar (1408 for reduced version).
What I am asking is the possibility to hide all recipies for a item-group, item-subgroup or a recipe-category when in player inventory with an option like that :
Code: Select all
data:extend(
{
type = "recipe-category",
name = "factochem-fusion",
hide = true
},
{
type = "item-group",
name = "factochem",
order = "x-z",
inventory_order = "z",
icon = "__factochem__/graphics/technology/factochem.png",
hide = true
},
{
type = "item-subgroup",
name = "factochem-fusion",
group = "factochem",
order = "z",
hide = true
}
})