1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Allow groups in crafting recipes

This commit is contained in:
Perttu Ahola 2012-06-06 23:39:17 +03:00
parent 7631918a12
commit a435cfcd82
3 changed files with 39 additions and 12 deletions

View file

@ -496,6 +496,14 @@ minetest.register_craftitem("experimental:tester_tool_1", {
end,
})
minetest.register_craft({
output = 'experimental:tester_tool_1',
recipe = {
{'group:crumbly'},
{'group:crumbly'},
}
})
minetest.log("experimental modname="..dump(minetest.get_current_modname()))
minetest.log("experimental modpath="..dump(minetest.get_modpath("experimental")))
minetest.log("experimental worldpath="..dump(minetest.get_worldpath()))