init.lua.diff 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. 27a28,55
  2. > -- And now for the tulips mod
  3. >
  4. > minetest.register_alias("tulips:white_seeds", "flowers:dandelion_white")
  5. > minetest.register_alias("tulips:white_sprout", "flowers:dandelion_white")
  6. > minetest.register_alias("tulips:white", "flowers:dandelion_white")
  7. > minetest.register_alias("tulips:grey_seeds", "flowers:dandelion_white")
  8. > minetest.register_alias("tulips:grey_sprout", "flowers:dandelion_white")
  9. > minetest.register_alias("tulips:grey", "flowers:dandelion_white")
  10. > minetest.register_alias("tulips:black_seeds", "flowers:rose")
  11. > minetest.register_alias("tulips:black_sprout", "flowers:rose")
  12. > minetest.register_alias("tulips:black", "flowers:rose")
  13. > minetest.register_alias("tulips:red_seeds", "flowers:rose")
  14. > minetest.register_alias("tulips:red_sprout", "flowers:rose")
  15. > minetest.register_alias("tulips:red", "flowers:rose")
  16. > minetest.register_alias("tulips:yellow_seeds", "flowers:dandelion_yellow")
  17. > minetest.register_alias("tulips:yellow_sprout", "flowers:dandelion_yellow")
  18. > minetest.register_alias("tulips:yellow", "flowers:dandelion_yellow")
  19. > minetest.register_alias("tulips:green_seeds", "flowers:tulip")
  20. > minetest.register_alias("tulips:green_sprout", "flowers:tulip")
  21. > minetest.register_alias("tulips:green", "flowers:tulip")
  22. > minetest.register_alias("tulips:cyan_seeds", "flowers:geranium")
  23. > minetest.register_alias("tulips:cyan_sprout", "flowers:geranium")
  24. > minetest.register_alias("tulips:cyan", "flowers:geranium")
  25. > minetest.register_alias("tulips:blue_seeds", "flowers:geranium")
  26. > minetest.register_alias("tulips:blue_sprout", "flowers:geranium")
  27. > minetest.register_alias("tulips:magenta_seeds", "flowers:viola")
  28. > minetest.register_alias("tulips:magenta_sprout", "flowers:viola")
  29. > minetest.register_alias("tulips:magenta", "flowers:viola")
  30. 46a75,85
  31. > drawtype = "nodebox",
  32. > node_box = {
  33. > type = "fixed",
  34. > fixed = {
  35. > {-0.5/5, -2.5/5, -0.5/5, 0.5/5, 0.5/5, 0.5/5},
  36. > {-1.5/5, -0.5/5, -1.5/5, -0.5/5, 1.5/5, -0.5/5},
  37. > {0.5/5, -0.5/5, -1.5/5, 1.5/5, 1.5/5, -0.5/5},
  38. > {0.5/5, -0.5/5, 0.5/5, 1.5/5, 1.5/5, 1.5/5},
  39. > {-1.5/5, -0.5/5, 0.5/5, -0.5/5, 1.5/5, 1.5/5},
  40. > }
  41. > },
  42. 62c101
  43. < "Rose",
  44. ---
  45. > "Red Rose",
  46. 75c114
  47. < {-2 / 16, -0.5, -2 / 16, 2 / 16, 4 / 16, 2 / 16},
  48. ---
  49. > {-4 / 16, -0.5, -4 / 16, 4 / 16, -2 / 16, 4 / 16},
  50. 92c131
  51. < "White dandelion",
  52. ---
  53. > "White Dandelion",
  54. 203a243,318
  55. > minetest.register_node("flowers:mushroom_jade", {
  56. > description = "Jade Mushroom",
  57. > tiles = {"flowers_mushroom_jade.png"},
  58. > inventory_image = "flowers_mushroom_jade.png",
  59. > wield_image = "flowers_mushroom_jade.png",
  60. > drawtype = "plantlike",
  61. > paramtype = "light",
  62. > sunlight_propagates = true,
  63. > walkable = false,
  64. > buildable_to = true,
  65. > groups = {snappy = 3, attached_node = 1, flammable = 1},
  66. > sounds = default.node_sound_leaves_defaults(),
  67. > on_use = minetest.item_eat(3),
  68. > selection_box = {
  69. > type = "fixed",
  70. > fixed = {-3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16},
  71. > }
  72. > })
  73. >
  74. > minetest.register_node("flowers:mushroom_french", {
  75. > description = "French Mushroom",
  76. > tiles = {"flowers_mushroom_french.png"},
  77. > inventory_image = "flowers_mushroom_french.png",
  78. > wield_image = "flowers_mushroom_french.png",
  79. > drawtype = "plantlike",
  80. > paramtype = "light",
  81. > sunlight_propagates = true,
  82. > walkable = false,
  83. > buildable_to = true,
  84. > groups = {snappy = 3, attached_node = 1, flammable = 1},
  85. > sounds = default.node_sound_leaves_defaults(),
  86. > on_use = minetest.item_eat(1),
  87. > selection_box = {
  88. > type = "fixed",
  89. > fixed = {-3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16},
  90. > }
  91. > })
  92. >
  93. > minetest.register_node("flowers:mushroom_lemon", {
  94. > description = "Lemon Mushroom",
  95. > tiles = {"flowers_mushroom_lemon.png"},
  96. > inventory_image = "flowers_mushroom_lemon.png",
  97. > wield_image = "flowers_mushroom_lemon.png",
  98. > drawtype = "plantlike",
  99. > paramtype = "light",
  100. > sunlight_propagates = true,
  101. > walkable = false,
  102. > buildable_to = true,
  103. > groups = {snappy = 3, attached_node = 1, flammable = 1},
  104. > sounds = default.node_sound_leaves_defaults(),
  105. > on_use = minetest.item_eat(0),
  106. > selection_box = {
  107. > type = "fixed",
  108. > fixed = {-3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16},
  109. > }
  110. > })
  111. >
  112. > minetest.register_node("flowers:mushroom_sleepy", {
  113. > description = "Sleepy Mushroom",
  114. > tiles = {"flowers_mushroom_sleepy.png"},
  115. > inventory_image = "flowers_mushroom_sleepy.png",
  116. > wield_image = "flowers_mushroom_sleepy.png",
  117. > drawtype = "plantlike",
  118. > paramtype = "light",
  119. > sunlight_propagates = true,
  120. > walkable = false,
  121. > buildable_to = true,
  122. > groups = {snappy = 3, attached_node = 1, flammable = 1},
  123. > sounds = default.node_sound_leaves_defaults(),
  124. > on_use = minetest.item_eat(-18),
  125. > selection_box = {
  126. > type = "fixed",
  127. > fixed = {-3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16},
  128. > }
  129. > })
  130. >
  131. 209c324,325
  132. < nodenames = {"flowers:mushroom_brown", "flowers:mushroom_red"},
  133. ---
  134. > nodenames = {"flowers:mushroom_brown", "flowers:mushroom_red", "flowers:mushroom_jade",
  135. > "flowers:mushroom_french", "flowers:mushroom_lemon", "flowers:mushroom_sleepy"},