blockgame/mods/bg_woodworking/node.lua
trans_soup 75e66075d0 simplify node registration.
make the wrapper `blockgame.register_node` make reasonable assumptions
that make node registration more convenient.

change other code to take advantage of that change.

also remove the `blockgame.reg_simple_node` utility since it's now
redundant.
2023-10-17 20:20:42 +02:00

7 lines
115 B
Lua

local modname = minetest.get_current_modname()
blockgame.register_node("plank", {
groups = {
woody = 1,
},
})