blockgame/mods/bg_tree/recipes.lua
trans_soup d04e92a15c add decomposition of leaves into dirt.
make leaves decompose over time into dirt when near dirty nodes. also
remove placeholder pummel recipe that turns leaves into dirt.
2023-10-16 20:41:09 +02:00

6 lines
385 B
Lua

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