Page 1 of 1

Crafting categories

Posted: Sun Apr 16, 2017 5:32 pm
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!

Re: Crafting categories

Posted: Sun Apr 16, 2017 5:47 pm
by Arch666Angel
After that you need to set the category to the recipes and the machine you want them to be crafted in.

Re: Crafting categories

Posted: Sun Apr 16, 2017 6:00 pm
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.