plantpack.lua 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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", "deciduous_forest", "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_dirt", "default:dirt_with_grass",
  45. "ethereal:grove_dirt", "ethereal:bamboo_dirt"
  46. },
  47. sidelen = 16,
  48. fill_ratio = 0.005,
  49. biomes = {"prairie", "deciduous_forest", "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_dirt", "default:dirt_with_grass",
  59. "ethereal:grove_dirt"
  60. },
  61. sidelen = 16,
  62. fill_ratio = 0.005,
  63. biomes = {"prairie", "deciduous_forest", "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_dirt", "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", "deciduous_forest", "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 = {
  89. "ethereal:jungle_dirt", "default:dirt_with_grass",
  90. "default:dirt_with_rainforest_litter"
  91. },
  92. sidelen = 16,
  93. fill_ratio = 0.007,
  94. biomes = {"junglee", "jumble"},
  95. decoration = {
  96. "xanadu:rainforest_guzmania", "xanadu:rainforest_devil",
  97. "xanadu:rainforest_lazarus", "xanadu:rainforest_lollipop",
  98. "xanadu:mushroom_woolly"
  99. }
  100. })
  101. --= Cold Biomes
  102. minetest.register_decoration({
  103. deco_type = "simple",
  104. place_on = {
  105. "default:dirt_with_snow", "ethereal:cold_dirt",
  106. "ethereal:gray_dirt"
  107. },
  108. sidelen = 16,
  109. fill_ratio = 0.005,
  110. biomes = {"coniferous_forest", "taiga", "grayness"},
  111. decoration = {
  112. "xanadu:mountain_edelweiss", "xanadu:mountain_armeria",
  113. "xanadu:mountain_bellflower", "xanadu:mountain_willowherb",
  114. "xanadu:mountain_bistort"
  115. }
  116. })
  117. --= Mushroom Biome
  118. minetest.register_decoration({
  119. deco_type = "simple",
  120. place_on = {"ethereal:mushroom_dirt"},
  121. sidelen = 16,
  122. fill_ratio = 0.005,
  123. biomes = {"mushroom"},
  124. decoration = {
  125. "xanadu:mushroom_powderpuff", "xanadu:mushroom_chanterelle",
  126. "xanadu:mushroom_parasol"
  127. }
  128. })
  129. --= Lakeside
  130. minetest.register_decoration({
  131. deco_type = "simple",
  132. place_on = {"default:sand", "default:dirt_with_grass"},
  133. sidelen = 16,
  134. fill_ratio = 0.015,
  135. biomes = {
  136. "sandclay", "deciduous_forest_ocean", "grassy", "grassytwo", "jumble", "swamp"},
  137. decoration = {
  138. "xanadu:wetlands_cattails", "xanadu:wetlands_pickerel",
  139. "xanadu:wetlands_mannagrass", "xanadu:wetlands_turtle"
  140. },
  141. spawn_by = "default:water_source",
  142. num_spawn_by = 1
  143. })
  144. --= Harsh Biomes
  145. minetest.register_decoration({
  146. deco_type = "simple",
  147. place_on = {
  148. "ethereal:mushroom_dirt", "default:dirt_with_grass",
  149. "ethereal:gray_dirt", "ethereal:cold_dirt",
  150. "ethereal:dirt_with_snow", "ethereal:jungle_dirt",
  151. "ethereal:prairie_dirt", "ethereal:grove_dirt",
  152. "ethereal:dry_dirt", "ethereal:fiery_dirt", "default:sand",
  153. "default:desert_sand", "xanadu:red", "ethereal:bamboo_dirt",
  154. "default:dirt_with_rainforest_litter"
  155. },
  156. sidelen = 16,
  157. fill_ratio = 0.004,
  158. biomes = {
  159. "mushroom", "prairie", "grayness", "plains", "desert",
  160. "junglee", "deciduous_forest", "grassytwo", "jumble", "coniferous_forest",
  161. "taiga", "fiery", "mesa", "bamboo"
  162. },
  163. decoration = {"xanadu:spooky_thornbush", "xanadu:spooky_baneberry"}
  164. })
  165. --= Poppy's growing in Clearing Biome in memory of RealBadAngel
  166. minetest.register_decoration({
  167. deco_type = "simple",
  168. place_on = {
  169. "default:dirt_with_grass",
  170. },
  171. sidelen = 16,
  172. fill_ratio = 0.004,
  173. biomes = {"grassland"},
  174. decoration = {"xanadu:poppy"}
  175. })