init.lua 419 B

123456789101112131415161718
  1. local modname = minetest.get_current_modname()
  2. local S = minetest.get_translator(modname)
  3. minetest.register_node(modname .. ":planks",
  4. {
  5. description = S("Planks"),
  6. tiles = {modname .. "_planks.png"},
  7. groups = {deconstructable = 3, choppy = 3},
  8. is_ground_content = false,
  9. sounds =
  10. {
  11. dig = "wood_high_dig",
  12. dug = "wood_low_dug",
  13. place = "wood_low_place",
  14. footstep = "wood_low_footstep",
  15. }
  16. })