bamboo_tree.lua 982 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. local _ = {name = "air", param1 = 000}
  2. local B = {name = "ethereal:bamboo", param1 = 255}
  3. local L = {name = "ethereal:bamboo_leaves", param1 = 255}
  4. local l = {name = "ethereal:bamboo_leaves", param1 = 100}
  5. ethereal.bambootree = {
  6. size = {x = 3, y = 18, z = 3},
  7. yslice_prob = {
  8. {ypos = 0, prob = 127},
  9. {ypos = 1, prob = 127},
  10. {ypos = 2, prob = 127},
  11. {ypos = 3, prob = 127}
  12. },
  13. data = {
  14. _,_,_,
  15. _,_,_,
  16. _,_,_,
  17. _,_,_,
  18. _,_,_,
  19. _,_,_,
  20. _,_,_,
  21. _,_,_,
  22. _,_,_,
  23. _,_,_,
  24. _,_,_,
  25. _,_,_,
  26. _,_,_,
  27. _,_,_,
  28. _,_,_,
  29. l,L,l,
  30. _,L,_,
  31. _,_,_,
  32. _,B,_,
  33. _,B,_,
  34. _,B,_,
  35. _,B,_,
  36. _,B,_,
  37. _,B,_,
  38. _,B,_,
  39. _,B,_,
  40. _,B,_,
  41. _,B,_,
  42. _,B,_,
  43. _,B,_,
  44. _,B,_,
  45. _,B,_,
  46. _,B,_,
  47. l,B,l,
  48. _,L,_,
  49. _,l,_,
  50. _,_,_,
  51. _,_,_,
  52. _,_,_,
  53. _,_,_,
  54. _,_,_,
  55. _,_,_,
  56. _,_,_,
  57. _,_,_,
  58. _,_,_,
  59. _,_,_,
  60. _,_,_,
  61. _,_,_,
  62. _,_,_,
  63. _,_,_,
  64. _,_,_,
  65. l,L,l,
  66. _,L,_,
  67. _,_,_,
  68. }
  69. }
  70. if ethereal.papyruswalk == true then
  71. minetest.override_item("default:papyrus", {
  72. walkable = true,
  73. sunlight_propagates = true
  74. })
  75. end