local modname = minetest.get_current_modname() -- plant saplings -- TODO: when recipes add support for groups, use `dirty` group here instead of specific nodes. 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"})