Durability of Crafting Item?

Misadventure
New member
 
Posts: 5
Joined: Tue Mar 01, 2016 21:36
In-game: Misadventure

Durability of Crafting Item?

by Misadventure » Tue Mar 01, 2016 21:40

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.
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: Durability of Crafting Item?

by MineYoshi » Tue Mar 01, 2016 22:01

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!
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 10 guests

cron