biome_defs.lua 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. moretrees.beech_biome = {
  2. surface = "default:dirt_with_grass",
  3. avoid_nodes = moretrees.avoidnodes,
  4. avoid_radius = 8,
  5. seed_diff = 2,
  6. rarity = 50,
  7. max_count = 20,
  8. }
  9. moretrees.palm_biome = {
  10. surface = "default:sand",
  11. avoid_nodes = moretrees.avoidnodes,
  12. avoid_radius = 5,
  13. seed_diff = 330,
  14. min_elevation = -1,
  15. max_elevation = 1,
  16. near_nodes = {"default:water_source"},
  17. near_nodes_size = 15,
  18. near_nodes_count = 10,
  19. temp_min = 0.25,
  20. temp_max = -0.15,
  21. rarity = 50,
  22. max_count = 10,
  23. }
  24. moretrees.date_palm_biome = {
  25. surface = "default:desert_sand",
  26. avoid_nodes = moretrees.avoidnodes,
  27. avoid_radius = 10,
  28. seed_diff = 339,
  29. min_elevation = -1,
  30. max_elevation = 10,
  31. near_nodes = {"default:water_source"},
  32. near_nodes_size = 20,
  33. near_nodes_count = 100,
  34. near_nodes_vertical = 20,
  35. temp_min = -0.20,
  36. humidity_max = 0.20,
  37. rarity = 10,
  38. max_count = 30,
  39. }
  40. moretrees.date_palm_biome_2 = {
  41. surface = "default:desert_sand",
  42. avoid_nodes = moretrees.avoidnodes,
  43. avoid_radius = 10,
  44. seed_diff = 340,
  45. min_elevation = 11,
  46. max_elevation = 30,
  47. near_nodes = {"default:water_source"},
  48. near_nodes_size = 1,
  49. near_nodes_count = 1,
  50. near_nodes_vertical = 30,
  51. temp_min = -0.20,
  52. humidity_max = 0.20,
  53. rarity = 10,
  54. max_count = 30,
  55. }
  56. moretrees.apple_tree_biome = {
  57. surface = "default:dirt_with_grass",
  58. avoid_nodes = moretrees.avoidnodes,
  59. avoid_radius = 10,
  60. seed_diff = 331,
  61. min_elevation = 1,
  62. max_elevation = 10,
  63. temp_min = 0.1,
  64. temp_max = -0.15,
  65. rarity = 75,
  66. max_count = 5,
  67. }
  68. moretrees.oak_biome = {
  69. surface = "default:dirt_with_grass",
  70. avoid_nodes = moretrees.avoidnodes,
  71. avoid_radius = 15,
  72. seed_diff = 332,
  73. min_elevation = 0,
  74. max_elevation = 10,
  75. temp_min = 0.4,
  76. temp_max = 0.2,
  77. rarity = 50,
  78. max_count = 5,
  79. }
  80. moretrees.sequoia_biome = {
  81. surface = "default:dirt_with_grass",
  82. avoid_nodes = moretrees.avoidnodes,
  83. avoid_radius = 10,
  84. seed_diff = 333,
  85. min_elevation = 0,
  86. max_elevation = 10,
  87. temp_min = 1,
  88. temp_max = -0.4,
  89. rarity = 90,
  90. max_count = 5,
  91. }
  92. moretrees.birch_biome = {
  93. surface = "default:dirt_with_grass",
  94. avoid_nodes = moretrees.avoidnodes,
  95. avoid_radius = 5,
  96. seed_diff = 334,
  97. min_elevation = 10,
  98. max_elevation = 15,
  99. temp_min = 0.9,
  100. temp_max = 0.3,
  101. rarity = 50,
  102. max_count = 10,
  103. }
  104. moretrees.willow_biome = {
  105. surface = "default:dirt_with_grass",
  106. avoid_nodes = moretrees.avoidnodes,
  107. avoid_radius = 10,
  108. seed_diff = 337,
  109. min_elevation = -5,
  110. max_elevation = 5,
  111. near_nodes = {"default:water_source"},
  112. near_nodes_size = 15,
  113. near_nodes_count = 5,
  114. rarity = 75,
  115. max_count = 5,
  116. }
  117. moretrees.rubber_tree_biome = {
  118. surface = "default:dirt_with_grass",
  119. avoid_nodes = moretrees.avoidnodes,
  120. avoid_radius = 10,
  121. seed_diff = 338,
  122. min_elevation = -5,
  123. max_elevation = 5,
  124. near_nodes = {"default:water_source"},
  125. near_nodes_size = 15,
  126. near_nodes_count = 10,
  127. temp_min = -0.15,
  128. rarity = 75,
  129. max_count = 10,
  130. }
  131. moretrees.jungletree_biome = {
  132. surface = {
  133. "default:dirt",
  134. "default:dirt_with_grass",
  135. "woodsoils:dirt_with_leaves_1",
  136. "woodsoils:grass_with_leaves_1",
  137. "woodsoils:grass_with_leaves_2"
  138. },
  139. avoid_nodes = {"moretrees:jungletree_trunk"},
  140. max_count = 12,
  141. avoid_radius = 3,
  142. rarity = 85,
  143. seed_diff = 329,
  144. min_elevation = 1,
  145. near_nodes = {"default:jungletree"},
  146. near_nodes_size = 6,
  147. near_nodes_vertical = 2,
  148. near_nodes_count = 1,
  149. plantlife_limit = -0.9,
  150. }
  151. moretrees.spruce_biome = {
  152. surface = "default:dirt_with_grass",
  153. avoid_nodes = moretrees.avoidnodes,
  154. avoid_radius = 10,
  155. seed_diff = 335,
  156. min_elevation = 20,
  157. temp_min = 0.9,
  158. temp_max = 0.7,
  159. rarity = 50,
  160. max_count = 5,
  161. }
  162. moretrees.cedar_biome = {
  163. surface = "default:dirt_with_grass",
  164. avoid_nodes = moretrees.avoidnodes,
  165. avoid_radius = 10,
  166. seed_diff = 336,
  167. min_elevation = 0, --Added to solve an issue where cedar trees would sometimes spawn deep underground
  168. near_nodes = {"default:water_source"},
  169. near_nodes_size = 15,
  170. near_nodes_count = 5,
  171. rarity = 50,
  172. max_count = 10,
  173. }
  174. -- Poplar requires a lot of water.
  175. moretrees.poplar_biome = {
  176. surface = "default:dirt_with_grass",
  177. avoid_nodes = moretrees.avoidnodes,
  178. avoid_radius = 6,
  179. seed_diff = 341,
  180. min_elevation = 0,
  181. max_elevation = 50,
  182. near_nodes = {"default:water_source"},
  183. near_nodes_size = 15,
  184. near_nodes_vertical = 5,
  185. near_nodes_count = 1,
  186. humidity_min = -0.7,
  187. humidity_max = -1,
  188. rarity = 50,
  189. max_count = 15,
  190. }
  191. -- The humidity requirement it quite restrictive (apparently).
  192. -- Spawn an occasional poplar elsewhere.
  193. moretrees.poplar_biome_2 = {
  194. surface = "default:dirt_with_grass",
  195. avoid_nodes = moretrees.avoidnodes,
  196. avoid_radius = 6,
  197. seed_diff = 341,
  198. min_elevation = 0,
  199. max_elevation = 50,
  200. near_nodes = {"default:water_source"},
  201. near_nodes_size = 15,
  202. near_nodes_vertical = 4,
  203. near_nodes_count = 10,
  204. humidity_min = 0.1,
  205. humidity_max = -0.6,
  206. rarity = 50,
  207. max_count = 1,
  208. }
  209. -- Subterranean lakes provide enough water for poplars to grow
  210. moretrees.poplar_biome_3 = {
  211. surface = "default:dirt_with_grass",
  212. avoid_nodes = moretrees.avoidnodes,
  213. avoid_radius = 6,
  214. seed_diff = 342,
  215. min_elevation = 0,
  216. max_elevation = 50,
  217. near_nodes = {"default:water_source"},
  218. near_nodes_size = 1,
  219. near_nodes_vertical = 25,
  220. near_nodes_count = 1,
  221. humidity_min = -0.5,
  222. humidity_max = -1,
  223. rarity = 0,
  224. max_count = 30,
  225. }
  226. moretrees.poplar_small_biome = {
  227. surface = "default:dirt_with_grass",
  228. avoid_nodes = moretrees.avoidnodes,
  229. avoid_radius = 4,
  230. seed_diff = 343,
  231. min_elevation = 0,
  232. max_elevation = 50,
  233. near_nodes = {"default:water_source"},
  234. near_nodes_size = 10,
  235. near_nodes_vertical = 5,
  236. near_nodes_count = 1,
  237. humidity_min = -0.7,
  238. humidity_max = -1,
  239. rarity = 50,
  240. max_count = 10,
  241. }
  242. moretrees.poplar_small_biome_2 = {
  243. surface = "default:dirt_with_grass",
  244. avoid_nodes = moretrees.avoidnodes,
  245. avoid_radius = 4,
  246. seed_diff = 343,
  247. min_elevation = 0,
  248. max_elevation = 50,
  249. near_nodes = {"default:water_source"},
  250. near_nodes_size = 10,
  251. near_nodes_vertical = 4,
  252. near_nodes_count = 5,
  253. humidity_min = 0.1,
  254. humidity_max = -0.6,
  255. rarity = 50,
  256. max_count = 3,
  257. }
  258. moretrees.fir_biome = {
  259. surface = "default:dirt_with_grass",
  260. avoid_nodes = moretrees.avoidnodes,
  261. avoid_radius = 10,
  262. seed_diff = 359,
  263. min_elevation = 25,
  264. temp_min = 0.9,
  265. temp_max = 0.3,
  266. rarity = 50,
  267. max_count = 10,
  268. }
  269. moretrees.fir_biome_snow = {
  270. surface = {"snow:dirt_with_snow", "snow:snow"},
  271. below_nodes = {"default:dirt", "default:dirt_with_grass", "snow:dirt_with_snow"},
  272. avoid_nodes = moretrees.avoidnodes,
  273. avoid_radius = 10,
  274. seed_diff = 359,
  275. rarity = 50,
  276. max_count = 10,
  277. check_air = false,
  278. delete_above = true,
  279. spawn_replace_node = true
  280. }