blockgame/mods/bg_tree/recipes.lua

7 lines
385 B
Lua
Raw Permalink Normal View History

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"})