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 » Thu May 16, 2019 5:00 am

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
Filter Inserter
Filter Inserter
Posts: 796
Joined: Fri Nov 06, 2015 7:41 pm
Contact:

Re: Item-Subgroup

Post by Deadlock989 » Thu May 16, 2019 7:38 am

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.

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

Re: Item-Subgroup

Post by DisLikeSpace » Thu May 16, 2019 8:01 am

I solved it myself

User avatar
Deadlock989
Filter Inserter
Filter Inserter
Posts: 796
Joined: Fri Nov 06, 2015 7:41 pm
Contact:

Re: Item-Subgroup

Post by Deadlock989 » Thu May 16, 2019 8:04 am

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

Post Reply

Return to “Modding help”

Who is online

Users browsing this forum: No registered users