Page 1 of 1

Durability of Crafting Item?

PostPosted: Tue Mar 01, 2016 21:40
by Misadventure
So i'm fairly new, I have general knowledge with minetest by now however i still run into issues on occasion. such as my problem now.

I have a crafting item (Unsure if it should be made a tool).
This item is called "forge_hammer".
and its intended use is to have an ingot, and the hammer placed shapelessly in the crafting table, to produce a plate of that ingots type. However, I want when they craft a plate, for it to take a durability away from the item. I tried googling but i cant seem to figure out how i would go about applying a durability count to this item and how to degrade it based on number of uses in crafting recipes.

Re: Durability of Crafting Item?

PostPosted: Tue Mar 01, 2016 22:01
by MineYoshi
First it think if you want that a item have durability, should be a tools, see this if helps you!:
http://rubenwardy.com/minetest_modding_ ... fting.html

Remember, you do this type of questions in the Modding Discussion section!