Jump to content

Create New Recipe


Recommended Posts

You should be able to figure it out from looking at other character files that have custom items like wikckerbottom and wigfrid
This might work (you will have to change the required ingredients)

local function custom_init(inst)
    local nightmarefuel_recipe = Recipe("nightmarefuel", {Ingredient("twigs", 2), Ingredient("flint", 2), Ingredient("goldnugget", 2)}, RECIPETABS.MAGIC, {SCIENCE = 0, MAGIC = 0, ANCIENT = 0}, nil, nil, nil, nil, true)
    nightmarefuel_recipe.sortkey = 1
end

return MakePlayerCharacter("<charactername>", prefabs, assets, custom_init)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...