Is there a way to identify if an item is an "intermediate item" via the modding API, please?
I'm looking in the API docs for LuaItemPrototype and I don't see anything obvious...
Identify if an item is "intermediate"
-
- Burner Inserter
- Posts: 11
- Joined: Sun Jan 31, 2021 3:07 pm
- Contact:
Re: Identify if an item is "intermediate"
If you're looking for the item group (the tab in the inventory), it's https://lua-api.factorio.com/latest/cla ... html#group. If you're looking for whether a recipe allow productivity modules it's https://lua-api.factorio.com/latest/cla ... imitations on the productivity modules.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
-
- Burner Inserter
- Posts: 11
- Joined: Sun Jan 31, 2021 3:07 pm
- Contact:
Re: Identify if an item is "intermediate"
Thanks for the lightning response!!
Ok, groups - perfect. I'll try it now.
I'm hoping to differentiate between things in the inventory like red-wire, which I think is always handy to have around even in small quantities, and copper-cable, which I normally want to throw in the trash.
Ok, groups - perfect. I'll try it now.
I'm hoping to differentiate between things in the inventory like red-wire, which I think is always handy to have around even in small quantities, and copper-cable, which I normally want to throw in the trash.
My mods: Inventory-Trim