plantpack.lua 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. --= Register Biome Decoration Using Plants Mega Pack Lite
  2. --= Desert Biome
  3. -- Cactus
  4. minetest.register_decoration({
  5. deco_type = "simple",
  6. place_on = {"default:desert_sand", "default:sandstone"},
  7. sidelen = 16,
  8. fill_ratio = 0.005,
  9. biomes = {"desert", "sandstone"},
  10. decoration = {
  11. "xanadu:cactus_echinocereus", "xanadu:cactus_matucana",
  12. "xanadu:cactus_baseball", "xanadu:cactus_golden"
  13. },
  14. })
  15. -- Desert Plants
  16. minetest.register_decoration({
  17. deco_type = "simple",
  18. place_on = {"default:desert_sand", "default:sandstone", "default:sand"},
  19. sidelen = 16,
  20. fill_ratio = 0.004,
  21. biomes = {"desert", "sandstone"},
  22. decoration = {
  23. "xanadu:desert_kangaroo", "xanadu:desert_brittle",
  24. "xanadu:desert_ocotillo", "xanadu:desert_whitesage"
  25. },
  26. })
  27. --= Prairie Biome
  28. -- Grass
  29. minetest.register_decoration({
  30. deco_type = "simple",
  31. place_on = {"ethereal:prairie_dirt", "default:dirt_with_grass"},
  32. sidelen = 16,
  33. fill_ratio = 0.005,
  34. biomes = {"prairie", "grassy", "grassytwo"},
  35. decoration = {
  36. "xanadu:grass_prairie", "xanadu:grass_cord",
  37. "xanadu:grass_wheatgrass", "xanadu:desert_whitesage"
  38. },
  39. })
  40. -- Flowers
  41. minetest.register_decoration({
  42. deco_type = "simple",
  43. place_on = {
  44. "ethereal:prairie_grass", "default:dirt_with_grass",
  45. "ethereal:grove_dirt", "ethereal:bamboo_dirt"
  46. },
  47. sidelen = 16,
  48. fill_ratio = 0.005,
  49. biomes = {"prairie", "grassy", "grassytwo", "bamboo"},
  50. decoration = {
  51. "xanadu:flower_jacobsladder", "xanadu:flower_thistle",
  52. "xanadu:flower_wildcarrot"
  53. },
  54. })
  55. minetest.register_decoration({
  56. deco_type = "simple",
  57. place_on = {
  58. "ethereal:prairie_grass", "default:dirt_with_grass",
  59. "ethereal:grove_dirt"
  60. },
  61. sidelen = 16,
  62. fill_ratio = 0.005,
  63. biomes = {"prairie", "grassy", "grassytwo", "grove"},
  64. decoration = {
  65. "xanadu:flower_delphinium", "xanadu:flower_celosia",
  66. "xanadu:flower_daisy", "xanadu:flower_bluerose"
  67. },
  68. })
  69. -- Shrubs
  70. minetest.register_decoration({
  71. deco_type = "simple",
  72. place_on = {
  73. "ethereal:prairie_grass", "default:dirt_with_grass",
  74. "ethereal:grove_dirt", "ethereal:jungle_grass",
  75. "ethereal:gray_dirt", "default:dirt_with_rainforest_litter"
  76. },
  77. sidelen = 16,
  78. fill_ratio = 0.005,
  79. biomes = {
  80. "prairie", "grassy", "grassytwo", "grove", "junglee",
  81. "grayness", "jumble"
  82. },
  83. decoration = {"xanadu:shrub_kerria", "xanadu:shrub_spicebush"},
  84. })
  85. --= Jungle Biome
  86. minetest.register_decoration({
  87. deco_type = "simple",
  88. place_on = {"ethereal:jungle_dirt", "default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
  89. sidelen = 16,
  90. fill_ratio = 0.007,
  91. biomes = {"junglee", "jumble"},
  92. decoration = {
  93. "xanadu:rainforest_guzmania", "xanadu:rainforest_devil",
  94. "xanadu:rainforest_lazarus", "xanadu:rainforest_lollipop",
  95. "xanadu:mushroom_woolly"
  96. },
  97. })
  98. --= Cold Biomes
  99. minetest.register_decoration({
  100. deco_type = "simple",
  101. place_on = {
  102. "default:dirt_with_snow", "ethereal:cold_dirt",
  103. "ethereal:gray_dirt"
  104. },
  105. sidelen = 16,
  106. fill_ratio = 0.005,
  107. biomes = {"snowy", "alpine", "grayness"},
  108. decoration = {
  109. "xanadu:mountain_edelweiss", "xanadu:mountain_armeria",
  110. "xanadu:mountain_bellflower", "xanadu:mountain_willowherb",
  111. "xanadu:mountain_bistort"
  112. },
  113. })
  114. --= Mushroom Biome
  115. minetest.register_decoration({
  116. deco_type = "simple",
  117. place_on = {"ethereal:mushroom_dirt"},
  118. sidelen = 16,
  119. fill_ratio = 0.005,
  120. biomes = {"mushroom"},
  121. decoration = {
  122. "xanadu:mushroom_powderpuff", "xanadu:mushroom_chanterelle",
  123. "xanadu:mushroom_parasol"
  124. },
  125. })
  126. --= Lakeside
  127. minetest.register_decoration({
  128. deco_type = "simple",
  129. place_on = {"default:sand", "default:dirt_with_grass"},
  130. sidelen = 16,
  131. fill_ratio = 0.015,
  132. biomes = {"sandclay", "grassy_ocean", "grassy", "grassytwo", "jumble", "swamp"},
  133. decoration = {
  134. "xanadu:wetlands_cattails", "xanadu:wetlands_pickerel",
  135. "xanadu:wetlands_mannagrass", "xanadu:wetlands_turtle"
  136. },
  137. spawn_by = "default:water_source",
  138. num_spawn_by = 1,
  139. })
  140. --= Harsh Biomes
  141. minetest.register_decoration({
  142. deco_type = "simple",
  143. place_on = {
  144. "ethereal:mushroom_dirt", "default:dirt_with_grass",
  145. "ethereal:gray_dirt", "ethereal:cold_dirt",
  146. "ethereal:dirt_with_snow", "ethereal:jungle_dirt",
  147. "ethereal:prairie_dirt", "ethereal:grove_dirt",
  148. "ethereal:dry_dirt", "ethereal:fiery_dirt", "default:sand",
  149. "default:desert_sand", "xanadu:red", "ethereal:bamboo_dirt",
  150. "default:dirt_with_rainforest_litter"
  151. },
  152. sidelen = 16,
  153. fill_ratio = 0.004,
  154. biomes = {
  155. "mushroom", "prairie", "grayness", "plains", "desert",
  156. "junglee", "grassy", "grassytwo", "jumble", "snowy", "alpine",
  157. "fiery", "mesa", "bamboo"
  158. },
  159. decoration = {"xanadu:spooky_thornbush", "xanadu:spooky_baneberry"},
  160. })
  161. --= Poppy's growing in Clearing Biome in memory of RealBadAngel
  162. minetest.register_decoration({
  163. deco_type = "simple",
  164. place_on = {
  165. "default:dirt_with_grass",
  166. },
  167. sidelen = 16,
  168. fill_ratio = 0.004,
  169. biomes = {"clearing"},
  170. decoration = {"xanadu:poppy"},
  171. })