Crafting categories

Place to get help with not working mods / modding interface.
User avatar
Shenpen
Fast Inserter
Fast Inserter
Posts: 227
Joined: Sat Aug 27, 2016 2:46 pm
Contact:

Crafting categories

Post by Shenpen »

For a entity that produces certain compounds I need to define a crafting category as in an alternative to "chemistry" as crafting category.
The wiki is very breif so I just tried doing a "recipe-category.lua" file with this:

data:extend(
{
{
type = "recipe-category",
name = "drugs"
},


})

That didnt help.


Any suggestions?

Edit: Just check for spelling errors.... Duh!
Last edited by Shenpen on Sun Apr 16, 2017 5:58 pm, edited 1 time in total.
User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1636
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: Crafting categories

Post by Arch666Angel »

After that you need to set the category to the recipes and the machine you want them to be crafted in.
User avatar
Shenpen
Fast Inserter
Fast Inserter
Posts: 227
Joined: Sat Aug 27, 2016 2:46 pm
Contact:

Re: Crafting categories

Post by Shenpen »

Arch666Angel wrote:After that you need to set the category to the recipes and the machine you want them to be crafted in.

Yeah. Got it right after a bit of messing about with it.
Post Reply

Return to “Modding help”