Merge pull request 'Set all mob spawn chance weights according to mc now that weights are actually taken into account' (#4035) from Bakawun/MineClone2:mob_chance into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4035
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
This commit is contained in:
the-real-herowl 2024-01-20 04:00:13 +00:00
commit 3dafeb7505
33 changed files with 55 additions and 55 deletions

View file

@ -171,7 +171,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
4000,
100,
3,
water-16,
water+1)

View file

@ -150,7 +150,7 @@ mcl_mobs:spawn_specific(
0,
maxlight,
20,
5000,
100,
2,
mcl_vars.mg_overworld_min,
mobs_mc.water_level-1)

View file

@ -151,7 +151,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
5000,
1000,
3,
mcl_vars.mg_nether_min,
mcl_vars.mg_nether_max)

View file

@ -157,7 +157,7 @@ mcl_mobs:spawn_specific(
},
9,
minetest.LIGHT_MAX+1,
30, 17000,
30, 100,
3,
mobs_mc.water_level,
mcl_vars.mg_overworld_max)

View file

@ -266,7 +266,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
4000,
750,
3,
water-16,
water+1)

View file

@ -207,7 +207,7 @@ mcl_mobs:spawn_specific(
9,
minetest.LIGHT_MAX+1,
30,
17000,
80,
10,
mobs_mc.water_level,
mcl_vars.mg_overworld_max)
@ -225,7 +225,7 @@ mcl_mobs:spawn_specific(
9,
minetest.LIGHT_MAX+1,
30,
17000,
80,
5,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)

View file

@ -407,7 +407,7 @@ mcl_mobs:spawn_specific(
0,
7,
20,
16500,
1000,
2,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)

View file

@ -244,7 +244,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
4000,
70,
3,
water-16,
water+1)

View file

@ -668,7 +668,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
3000,
100,
12,
mcl_vars.mg_end_min,
mcl_vars.mg_end_max)
@ -816,7 +816,7 @@ mcl_mobs:spawn_specific(
0,
7,
30,
19000,
100,
2,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)
@ -833,7 +833,7 @@ mcl_mobs:spawn_specific(
0,
11,
30,
27500,
100,
4,
mcl_vars.mg_nether_min,
mcl_vars.mg_nether_max)
@ -849,7 +849,7 @@ mcl_mobs:spawn_specific(
0,
11,
30,
5000,
100,
4,
mcl_vars.mg_nether_min,
mcl_vars.mg_nether_max)

View file

@ -97,7 +97,7 @@ mcl_mobs:spawn_specific(
0,
7,
30,
72000,
400,
2,
mcl_vars.mg_nether_min,
mcl_vars.mg_nether_max)

View file

@ -237,7 +237,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX + 1,
30,
10000,
100,
3,
water - 16,
water)

View file

@ -136,7 +136,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
6000,
200,
3,
mcl_vars.mg_nether_min,
mcl_vars.mg_nether_max)

View file

@ -609,7 +609,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
15000,
40,
4,
mobs_mc.water_level+3,
mcl_vars.mg_overworld_max)
@ -632,7 +632,7 @@ mcl_mobs:spawn_specific(
9,
minetest.LIGHT_MAX+1,
30,
15000,
10,
4,
mobs_mc.water_level+3,
mcl_vars.mg_overworld_max)

View file

@ -291,7 +291,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
15000,
50,
5,
mobs_mc.water_level+15,
mcl_vars.mg_overworld_max)

View file

@ -186,7 +186,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
15000,
300,
5,
mobs_mc.water_level+15,
mcl_vars.mg_overworld_max)

View file

@ -235,7 +235,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
7,
30000,
400,
1,
mobs_mc.water_level+7,
mcl_vars.mg_overworld_max)

View file

@ -258,7 +258,7 @@ mcl_mobs:spawn_specific(
9,
minetest.LIGHT_MAX+1,
30,
15000,
100,
8,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)

View file

@ -399,7 +399,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
6000,
150,
3,
mcl_vars.mg_lava_nether_max,
mcl_vars.mg_nether_max)
@ -415,7 +415,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
6000,
150,
3,
mcl_vars.mg_lava_nether_max,
mcl_vars.mg_nether_max)
@ -431,7 +431,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
6000,
1000,
3,
mcl_vars.mg_nether_min,
mcl_vars.mg_nether_max)
@ -448,7 +448,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
100000,
50,
4,
mcl_vars.mg_nether_min,
mcl_vars.mg_nether_max)

View file

@ -86,7 +86,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
7000,
50,
3,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)

View file

@ -148,7 +148,7 @@ mcl_mobs:spawn_specific(
9,
minetest.LIGHT_MAX+1,
30,
15000,
40,
8,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)

View file

@ -220,7 +220,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
4000,
260,
3,
water-16,
water+1)

View file

@ -379,7 +379,7 @@ mcl_mobs:spawn_specific(
9,
minetest.LIGHT_MAX+1,
30,
15000,
120,
3,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)

View file

@ -299,7 +299,7 @@ mcl_mobs:spawn_specific(
0,
7,
20,
17000,
800,
2,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)
@ -316,7 +316,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
10000,
800,
3,
mcl_vars.mg_nether_min,
mcl_vars.mg_nether_max)
@ -336,7 +336,7 @@ mcl_mobs:spawn_specific(
0,
7,
20,
19000,
1200,
2,
mobs_mc.water_level,
mcl_vars.mg_overworld_max)

View file

@ -116,7 +116,7 @@ mcl_mobs:spawn_specific(
0,
7,
30,
5000,
500,
5,
mcl_vars.mg_nether_min,
mcl_vars.mg_nether_max)

View file

@ -321,7 +321,7 @@ cave_biomes,
0,
minetest.LIGHT_MAX+1,
30,
12000,
1000,
4,
cave_min,
cave_max,
@ -335,7 +335,7 @@ swampy_biomes,
0,
swamp_light_max,
30,
12000,
1000,
4,
swamp_min,
swamp_max)
@ -348,7 +348,7 @@ cave_biomes,
0,
minetest.LIGHT_MAX+1,
30,
8500,
1000,
4,
cave_min,
cave_max,
@ -362,7 +362,7 @@ swampy_biomes,
0,
swamp_light_max,
30,
8500,
1000,
4,
swamp_min,
swamp_max)
@ -375,7 +375,7 @@ cave_biomes,
0,
minetest.LIGHT_MAX+1,
30,
10000,
1000,
4,
cave_min,
cave_max,
@ -389,7 +389,7 @@ swampy_biomes,
0,
swamp_light_max,
30,
10000,
1000,
4,
swamp_min,
swamp_max)
@ -512,7 +512,7 @@ magma_cube_biomes,
0,
minetest.LIGHT_MAX+1,
30,
15000,
100,
4,
nether_min,
nether_max)
@ -525,7 +525,7 @@ magma_cube_biomes,
0,
minetest.LIGHT_MAX+1,
30,
15500,
100,
4,
nether_min,
nether_max)
@ -538,7 +538,7 @@ magma_cube_biomes,
0,
minetest.LIGHT_MAX+1,
30,
16000,
100,
4,
nether_min,
nether_max)

View file

@ -287,7 +287,7 @@ mcl_mobs:spawn_specific(
0,
7,
30,
17000,
1000,
2,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)

View file

@ -211,7 +211,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
5500,
80,
3,
water-16,
water+1)

View file

@ -225,7 +225,7 @@ mcl_mobs:spawn_setup({
},
min_height = mcl_vars.mg_nether_min,
max_height = mcl_vars.mg_nether_max,
chance = 2000,
chance = 200,
})
mcl_mobs:spawn_setup({
@ -241,7 +241,7 @@ mcl_mobs:spawn_setup({
},
min_height = mcl_vars.mg_nether_min,
max_height = mcl_vars.mg_nether_max,
chance = 100,
chance = 20,
})
-- spawn eggs

View file

@ -183,7 +183,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
4000,
750,
3,
water-16,
water+1)

View file

@ -2336,7 +2336,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
20,
2,
4,
mobs_mc.water_level+1,
mcl_vars.mg_overworld_max)

View file

@ -225,7 +225,7 @@ mcl_mobs:spawn_specific(
0,
7,
30,
4090,
50,
4,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)

View file

@ -224,7 +224,7 @@ mcl_mobs:spawn_specific(
0,
minetest.LIGHT_MAX+1,
30,
9000,
80,
7,
mobs_mc.water_level+3,
mcl_vars.mg_overworld_max)

View file

@ -243,7 +243,7 @@ mcl_mobs:spawn_specific(
0,
7,
30,
6000,
1000,
4,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)
@ -332,7 +332,7 @@ mcl_mobs:spawn_specific(
0,
7,
30,
60000,
50,
4,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)
@ -348,7 +348,7 @@ mcl_mobs:spawn_specific(
0,
7,
30,
6500,
2400,
4,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)
@ -362,7 +362,7 @@ mcl_mobs:spawn_specific(
0,
7,
30,
65000,
120,
4,
mcl_vars.mg_overworld_min,
mcl_vars.mg_overworld_max)