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:
parent
7631918a12
commit
a435cfcd82
3 changed files with 39 additions and 12 deletions
|
@ -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()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue