d04e92a15c
make leaves decompose over time into dirt when near dirty nodes. also remove placeholder pummel recipe that turns leaves into dirt.
6 lines
385 B
Lua
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"})
|