init.lua 630 B

123456789101112131415161718192021222324252627
  1. local S = minetest.get_translator("basic_trees")
  2. wood_and_saws.register_wood("basic_trees:acacia",
  3. {
  4. log =
  5. {
  6. description = S("Acacia Log"),
  7. toptexture = "basic_trees_acacia_tree_top.png",
  8. sidetexture = "basic_trees_acacia_tree.png",
  9. itemtexture = "basic_trees_acacia_tree.png",
  10. },
  11. plank =
  12. {
  13. description = S("Acacia Planks"),
  14. texture = "basic_trees_acacia_wood.png",
  15. itemtexture = "basic_trees_acacia_wood.png",
  16. }
  17. })
  18. minetest.register_decoration(
  19. {
  20. deco_type = "schematic",
  21. place_on = "scorched_dirt",
  22. fill_ratio = 0.005,
  23. schematic = "schematics/acacia_dead_0.mts",
  24. rotation = "random",
  25. })