Jump to content

I need a lot of help with items


Recommended Posts

So, I bit off more than i can chew as far as modding goes, and I need a lot of help making some custom items.

Music box:
Hand equippable item. 1 cut stone, 1 gold, 3 silk. Restores 5 sanity/min. 12 min durability. Plays music while equipped. Requires "muse" tag to craft. Tools Tab

Sketchbook:
4 papyrus, 1 feather, 1 charcoal. 10 uses. Restores 20 sanity per use. Requires "sketchy" tag to craft. Tools Tab.

 

I only really have enough modding knowledge to get by, I need a lot of help here unfortunately.

Link to comment
Share on other sites

To create a custom recipe, you do this :

		local myprefab = AddRecipe("myprefab", {Ingredient("yellowgem", 1), Ingredient("twigs", 5), Ingredient("customingredient", 2, "images/inventoryimages/customingredient.xml", "customingredient")  }, RECIPETABS.MAGIC, TECH.MAGIC_THREE, nil, nil, nil, nil, "specialtag",  "images/inventoryimages/myprefab.xml", "myprefab.tex" )

Look at script/recipes.lua to examples, you'll find examples of tab and level of recipe. Just replace the ingredients with your one. Custom ingredient is an example for customs ingredients if you use some, it's not your case it seems so just follow the classic ingredients example.

Ok, so maybe you aren't able to do the exact prefabs you are wanting, but you could try to use others items as placeholder prefab to test the recipe, it will at least be a part of the mod done. And would be easier to do it step by step.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...