2023-10-11 07:17:21 +00:00
|
|
|
local modname = minetest.get_current_modname()
|
|
|
|
|
2023-10-11 10:04:16 +00:00
|
|
|
-- plant saplings
|
|
|
|
-- TODO: when recipes add support for groups, use `dirty` group here instead of specific nodes.
|
2023-10-15 16:22:13 +00:00
|
|
|
blockgame.crafting.register_stack_recipe("bg_terrain:grass", modname .. ":nut", {name = modname .. ":sapling"})
|
|
|
|
blockgame.crafting.register_stack_recipe("bg_terrain:dirt", modname .. ":nut", {name = modname .. ":sapling"})
|