item group bugged out?
-
Bizobinator
- Fast Inserter

- Posts: 193
- Joined: Fri May 06, 2016 10:35 pm
- Contact:
item group bugged out?
I'm creating a mod with a separate crafting category. Is that done with the type = item-group? B/c it's showing up under a category called "unsorted" instead o_O
- Arch666Angel
- Smart Inserter

- Posts: 1637
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: item group bugged out?
The crafting category is added to recipes and entities (assembly-machines, furnaces) and determines which recipe can be produced in a certain machine.
The group type creates an extra tab in the crafting/item menu.
The subgroup type creates a row in a certain group.
Subgroups can be set to items and recipes, depending on how you want to sort them. Setting them to the item only will sort the recipes producing only this item the same as the items.
The group type creates an extra tab in the crafting/item menu.
The subgroup type creates a row in a certain group.
Subgroups can be set to items and recipes, depending on how you want to sort them. Setting them to the item only will sort the recipes producing only this item the same as the items.
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ

"should be fixed"
-
Bizobinator
- Fast Inserter

- Posts: 193
- Joined: Fri May 06, 2016 10:35 pm
- Contact:
Re: item group bugged out?
Arch666Angel wrote:The crafting category is added to recipes and entities (assembly-machines, furnaces) and determines which recipe can be produced in a certain machine.
The group type creates an extra tab in the crafting/item menu.
The subgroup type creates a row in a certain group.
Subgroups can be set to items and recipes, depending on how you want to sort them. Setting them to the item only will sort the recipes producing only this item the same as the items.
Ah, yeah, that's kind of what I meant. I have the item and entity set to a group type, but it doesn't seem to be working?
Re: item group bugged out?
You need to set them to a subgroup of the group
Code: Select all
data:extend {
{
type = "item-group", --The TAB
name = "other", --the NAME of the tab
icon = "__core__/graphics/questionmark.png", -- Can you guess?
order = "z", --Where the tab will be placed in related to other tabs
},
{
type = "item-subgroup", --A Row in the group
name = "other", -- The name of the ROW
group = "other", --The item-group this subgroup belongs too
order = "z", --The order of the row from top to bottom, row "a" would be above row "b"
},
{
type = "item",
name = "item-name,
--Other item related definitions
subgroup = "other" --Put this on the item-subgroup (row) named "other"
order = "a" --from left to right, where will this be placed in the item-subgroup (row)
}
}