Search found 5 matches

Return to advanced search

Re: Dual Crafting Output?

the register_on_craft callbacks receive the old craft grid (from before crafting) and the inventory the craft is from. So you should be able to look at the hammer from the old craft grid and insert it back into the inventory with more wear. You could do something similar to send the hammer to the p...
by Misadventure
Sat Mar 05, 2016 15:11
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 975751

Dual Crafting Output?

I have a recipe that calls for: a tool (named forge_hammer) and an ingot (in this example, iron_ingot) Trying to output : The forge hammer (with less durability) AND the plate. The problem is, if it consumes my hammer. I have almost solved this by setting the output of the recipe to the hammer. writ...
by Misadventure
Wed Mar 02, 2016 14:32
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 975751

RE: Durability of Crafting Item?

*** Posted in wrong forum, using this to elaborate *** Original post: `````````````````````````````````````````````` 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 ma...
by Misadventure
Tue Mar 01, 2016 22:24
 
Forum: Modding Discussion
Topic: RE: Durability of Crafting Item?
Replies: 3
Views: 1169

Black Text NUmbers Over Item?

http://imgur.com/PuXA87z The item on the left is the one im reffering to, it has a black number over it and the number is random, it does not equal the number of items in my inventory. i really have two dirt, but it shows 2 (correctly) then in bigger black(?) text it shows 20. The item on the right...
by Misadventure
Tue Mar 01, 2016 22:13
 
Forum: Modding Discussion
Topic: Black Text NUmbers Over Item?
Replies: 0
Views: 571

Durability of Crafting Item?

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 pl...
by Misadventure
Tue Mar 01, 2016 21:40
 
Forum: Minetest General
Topic: Durability of Crafting Item?
Replies: 1
Views: 458

Return to advanced search

cron