bushes.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. minetest.register_node('plants:topiary_01', {
  2. description = 'Topiary Bush',
  3. drawtype = 'mesh',
  4. mesh = 'plants_topiary_01.obj',
  5. paramtype = 'light',
  6. paramtype2 = 'facedir',
  7. tiles = {'plants_topiary_01.png'},
  8. groups = {breakable=1},
  9. selection_box = {
  10. type = 'fixed',
  11. fixed = {{-.4, -.5, -.4, .4, 1, .4}}
  12. },
  13. collision_box = {
  14. type = 'fixed',
  15. fixed = {{-.4, -.5, -.4, .4, 1, .4}}
  16. },
  17. })
  18. minetest.register_node('plants:topiary_02', {
  19. description = 'Topiary Bush',
  20. drawtype = 'mesh',
  21. mesh = 'plants_topiary_02.obj',
  22. paramtype = 'light',
  23. paramtype2 = 'facedir',
  24. tiles = {'plants_topiary_02.png'},
  25. groups = {breakable=1},
  26. selection_box = {
  27. type = 'fixed',
  28. fixed = {{-.25, -.5, -.25, .25, 1, .25}}
  29. },
  30. collision_box = {
  31. type = 'fixed',
  32. fixed = {{-.25, -.5, -.25, .25, 1, .25}}
  33. },
  34. })
  35. minetest.register_node('plants:topiary_03', {
  36. description = 'Topiary Bush',
  37. drawtype = 'mesh',
  38. mesh = 'plants_topiary_03.obj',
  39. paramtype = 'light',
  40. paramtype2 = 'facedir',
  41. tiles = {'plants_topiary_03.png'},
  42. groups = {breakable=1},
  43. selection_box = {
  44. type = 'fixed',
  45. fixed = {{-.25, -.5, -.25, .25, 1, .25}}
  46. },
  47. collision_box = {
  48. type = 'fixed',
  49. fixed = {{-.25, -.5, -.25, .25, 1, .25}}
  50. },
  51. })