Item-Subgroup

Place to get help with not working mods / modding interface.
Post Reply
DisLikeSpace
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu May 16, 2019 4:03 am
Contact:

Item-Subgroup

Post by DisLikeSpace »

Hello,
I have a problem with my mod, more specifically with my own subgroup.
My category file:
data:extend(
{
--{
-- type = "recipe-category",
-- name = "fermenting",
--},
{
type = "item-group",
name = "fermenter-items",
order = "ht",
invetory_order = "ht",
icon = "__dislikesmold__/graphics/icons/mold.png",
icon_size = 32
},
{
type = "item-subgroup",
name = "ferments",
group = "fermenter-items",
order = "aa"
}
}
)
Here Error code:
Error in assignID, item-subgroup with name "fermener-items" does not exist.

Source: mold(item).
Actually Mod Folder a request.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: Item-Subgroup

Post by Deadlock989 »

Typo (but not related to your error)
invetory_order = "ht",
I assume you meant "inventory_order", but even so, that's not a field that exists. You probably meant "order". https://wiki.factorio.com/Prototype/ItemGroup

Typo:
"fermener-items"

Source: mold(item).
Your item "mold" is specifying a subgroup which does not exist.
Image

DisLikeSpace
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu May 16, 2019 4:03 am
Contact:

Re: Item-Subgroup

Post by DisLikeSpace »

I solved it myself

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: Item-Subgroup

Post by Deadlock989 »

Maybe save other people the effort next time by marking it as "solved"
Image

Post Reply

Return to “Modding help”