I need some help to link Crafting mod from Rubenwardi and Skyblock redo from rnd.
That's a simple modification but i'm not enough competent to do it.
I would like to use the function ("on_craft") for quests but it doesn't work cause of this crafting mod. This function detect when the right craft has been made. But crafting mod has its own crafting callback. I would like to detect when an item has been crafted.
I think that we have to modify this in order to detect the craft made with crafting and not the one by default...
Code: Select all
-- track craft item
minetest.register_on_craft(
function(itemstack, player, old_craft_grid, craft_inv) track_quest(player:getpos(), itemstack:get_name(), player, "on_craft") end
)
Links:
skyblock_redo : viewtopic.php?t=19625
crafting : https://github.com/rubenwardy/crafting
Thanks for help
Sporax.
P.S: Sorry for all the mistakes i made in english, i'm french. If you have any question, please, ask me!