Repository for the time_travel mod.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

spawning.lua 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. --Dinosaur Age Animals
  2. dinosaur_age_dimension_start = 2000
  3. dinosaur_age_dimension_end = 2999
  4. mobs:spawn({
  5. name = "paleotest:brachiosaurus",
  6. nodes = "default:dirt_with_coniferous_litter", --"default:fern_1",
  7. neighbours = "group:flora",
  8. min_light = 14, --1,
  9. --max_light = 15,
  10. interval = 60,
  11. chance = 800, -- 8000 -- 15000
  12. min_height = dinosaur_age_dimension_start,
  13. max_height = dinosaur_age_dimension_end,
  14. day_toggle = true, --nil,
  15. })
  16. mobs:spawn({
  17. name = "paleotest:elasmosaurus",
  18. nodes = "default:water_source",
  19. min_light = 14,
  20. interval = 60,
  21. chance = 800, -- 15000
  22. min_height = dinosaur_age_dimension_start,
  23. max_height = dinosaur_age_dimension_end,
  24. day_toggle = true,
  25. })
  26. mobs:spawn({
  27. name = "paleotest:mosasaurus",
  28. nodes = "default:water_source",
  29. min_light = 14,
  30. interval = 60,
  31. chance = 800, -- 15000
  32. min_height = dinosaur_age_dimension_start,
  33. max_height = dinosaur_age_dimension_end,
  34. day_toggle = true,
  35. })
  36. mobs:spawn({
  37. name = "paleotest:pteranodon",
  38. nodes = "air", --"default:water_source",
  39. min_light = 14,
  40. interval = 60,
  41. chance = 800, -- 15000
  42. min_height = dinosaur_age_dimension_start,
  43. max_height = dinosaur_age_dimension_end,
  44. day_toggle = true,
  45. })
  46. mobs:spawn({
  47. name = "paleotest:sarcosuchus",
  48. nodes = "default:water_source",
  49. min_light = 14,
  50. interval = 60,
  51. chance = 800, -- 15000
  52. min_height = dinosaur_age_dimension_start,
  53. max_height = dinosaur_age_dimension_end,
  54. day_toggle = true,
  55. })
  56. mobs:spawn({
  57. name = "paleotest:spinosaurus",
  58. nodes = "default:dirt_with_coniferous_litter",
  59. neighbours = "group:flora",
  60. min_light = 14,
  61. interval = 60,
  62. chance = 800, -- 15000
  63. min_height = dinosaur_age_dimension_start,
  64. max_height = dinosaur_age_dimension_end,
  65. day_toggle = true,
  66. })
  67. mobs:spawn({
  68. name = "paleotest:stegosaurus",
  69. nodes = "default:dirt_with_coniferous_litter",
  70. neighbours = "group:flora",
  71. min_light = 14,
  72. interval = 60,
  73. chance = 800, -- 15000
  74. min_height = dinosaur_age_dimension_start,
  75. max_height = dinosaur_age_dimension_end,
  76. day_toggle = true,
  77. })
  78. mobs:spawn({
  79. name = "paleotest:triceratops",
  80. nodes = "default:dirt_with_coniferous_litter",
  81. neighbours = "group:flora",
  82. min_light = 14,
  83. interval = 60,
  84. chance = 800, -- 15000
  85. min_height = dinosaur_age_dimension_start,
  86. max_height = dinosaur_age_dimension_end,
  87. day_toggle = true,
  88. })
  89. mobs:spawn({
  90. name = "paleotest:tyrannosaurus",
  91. nodes = "default:dirt_with_coniferous_litter",
  92. neighbours = "group:flora",
  93. min_light = 14,
  94. interval = 60,
  95. chance = 800, -- 15000
  96. min_height = dinosaur_age_dimension_start,
  97. max_height = dinosaur_age_dimension_end,
  98. day_toggle = true,
  99. })
  100. mobs:spawn({
  101. name = "paleotest:velociraptor",
  102. nodes = "default:dirt_with_coniferous_litter",
  103. neighbours = "group:flora",
  104. min_light = 14,
  105. interval = 60,
  106. chance = 800, -- 15000
  107. min_height = dinosaur_age_dimension_start,
  108. max_height = dinosaur_age_dimension_end,
  109. day_toggle = true,
  110. })
  111. --Ice Age Animals
  112. ice_age_dimension_start = 3000
  113. ice_age_dimension_end = 3999
  114. mobs:spawn({
  115. name = "paleotest:dire_wolf",
  116. nodes = "default:dirt_with_snow",
  117. min_light = 14,
  118. interval = 60,
  119. chance = 800, -- 15000
  120. min_height = ice_age_dimension_start,
  121. max_height = ice_age_dimension_end,
  122. day_toggle = true,
  123. })
  124. mobs:spawn({
  125. name = "paleotest:elasmotherium",
  126. nodes = "default:dirt_with_snow",
  127. min_light = 14,
  128. interval = 60,
  129. chance = 800, -- 15000
  130. min_height = ice_age_dimension_start,
  131. max_height = ice_age_dimension_end,
  132. day_toggle = true,
  133. })
  134. mobs:spawn({
  135. name = "paleotest:mammoth",
  136. nodes = "default:dirt_with_snow",
  137. min_light = 14,
  138. interval = 60,
  139. chance = 800, -- 15000
  140. min_height = ice_age_dimension_start,
  141. max_height = ice_age_dimension_end,
  142. day_toggle = true,
  143. })
  144. mobs:spawn({
  145. name = "paleotest:smilodon",
  146. nodes = "default:dirt_with_snow",
  147. min_light = 14,
  148. interval = 60,
  149. chance = 800, -- 15000
  150. min_height = ice_age_dimension_start,
  151. max_height = ice_age_dimension_end,
  152. day_toggle = true,
  153. })
  154. --Perhistoric Australia Animals
  155. prehistoric_australia_dimension_start = 4000
  156. prehistoric_australia_dimension_end = 4999
  157. mobs:spawn({
  158. name = "paleotest:procoptodon",
  159. nodes = "time_travel:australia_red_gravel",
  160. neighbors = "group:dry_grass",
  161. min_light = 14,
  162. interval = 60,
  163. chance = 100, -- 15000
  164. min_height = prehistoric_australia_dimension_start,
  165. max_height = prehistoric_australia_dimension_end,
  166. day_toggle = true,
  167. })
  168. mobs:spawn({
  169. name = "paleotest:thylacoleo",
  170. nodes = "time_travel:australia_red_gravel",
  171. neighbors = "group:dry_grass",
  172. min_light = 14,
  173. interval = 60,
  174. chance = 100, -- 15000
  175. min_height = prehistoric_australia_dimension_start,
  176. max_height = prehistoric_australia_dimension_end,
  177. day_toggle = true,
  178. })
  179. --Water Age Animals
  180. water_age_dimension_start = 5000
  181. water_age_dimension_end = 5999
  182. mobs:spawn({
  183. name = "paleotest:dunkleosteus",
  184. nodes = "default:water_source",
  185. min_light = 1,
  186. interval = 1,
  187. chance = 1, -- 15000
  188. min_height = water_age_dimension_start,
  189. max_height = water_age_dimension_end,
  190. day_toggle = true,
  191. })