Jump to content

[Help] Coding


Recommended Posts

If you want to make a new item that's craftable you can add the recipe similar to how Wigfrid's battle gear is added:

local spear_recipe = Recipe("spear_wathgrithr", {Ingredient("twigs", 2), Ingredient("flint", 2), Ingredient("goldnugget", 2)}, RECIPETABS.WAR, {SCIENCE = 0, MAGIC = 0, ANCIENT = 0}, nil, nil, nil, nil, true)

{SCIENCE = 0, MAGIC = 0, ANCIENT = 0} makes it so that you don't need to have a research station to make the items.

 

 

You can make your character vegetarian via:

inst.components.eater:SetVegetarian(true)

Other than that, please use the search function to find similar questions, as this sort of thing gets asked countless times.

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...