adapt several mob spawning conditions to mc

This commit is contained in:
cora 2022-07-17 15:33:06 +02:00 committed by Gitea
parent 1087d9e54b
commit 99037cb0ec
16 changed files with 21 additions and 53 deletions

View File

@ -174,6 +174,8 @@ local list_of_all_biomes = {
"Swampland", "Swampland",
"Taiga", "Taiga",
"ExtremeHills", "ExtremeHills",
"ExtremeHillsM",
"ExtremeHills+_snowtop",
"Jungle", "Jungle",
"Savanna", "Savanna",
"BirchForest", "BirchForest",
@ -192,7 +194,6 @@ local list_of_all_biomes = {
"ExtremeHills+_snowtop", "ExtremeHills+_snowtop",
"MesaPlateauFM_grasstop", "MesaPlateauFM_grasstop",
"JungleEdgeM", "JungleEdgeM",
"ExtremeHillsM",
"JungleM", "JungleM",
"BirchForestM", "BirchForestM",
"MesaPlateauF", "MesaPlateauF",

View File

@ -122,8 +122,6 @@ mcl_mobs:spawn_specific(
"ExtremeHills_beach", "ExtremeHills_beach",
"ExtremeHillsM", "ExtremeHillsM",
"ExtremeHills+", "ExtremeHills+",
"ExtremeHills+_snowtop",
"StoneBeach",
"Plains", "Plains",
"Plains_beach", "Plains_beach",
"SunflowerPlains", "SunflowerPlains",

View File

@ -153,17 +153,12 @@ mcl_mobs:spawn_specific(
"ground", "ground",
{ {
"flat", "flat",
"IcePlainsSpikes",
"ColdTaiga",
"ColdTaiga_beach",
"ColdTaiga_beach_water",
"MegaTaiga", "MegaTaiga",
"MegaSpruceTaiga", "MegaSpruceTaiga",
"ExtremeHills", "ExtremeHills",
"ExtremeHills_beach", "ExtremeHills_beach",
"ExtremeHillsM", "ExtremeHillsM",
"ExtremeHills+", "ExtremeHills+",
"ExtremeHills+_snowtop",
"StoneBeach", "StoneBeach",
"Plains", "Plains",
"Plains_beach", "Plains_beach",

View File

@ -274,7 +274,6 @@ mcl_mobs:spawn_specific(
"Plains", "Plains",
"Desert", "Desert",
"ColdTaiga", "ColdTaiga",
"MushroomIsland",
"IcePlainsSpikes", "IcePlainsSpikes",
"SunflowerPlains", "SunflowerPlains",
"IcePlains", "IcePlains",
@ -301,7 +300,6 @@ mcl_mobs:spawn_specific(
"ExtremeHills_beach", "ExtremeHills_beach",
"ColdTaiga_beach", "ColdTaiga_beach",
"Swampland_shore", "Swampland_shore",
"MushroomIslandShore",
"JungleM_shore", "JungleM_shore",
"Jungle_shore", "Jungle_shore",
"MesaPlateauFM_sandlevel", "MesaPlateauFM_sandlevel",
@ -340,7 +338,6 @@ mcl_mobs:spawn_specific(
"Forest_deep_ocean", "Forest_deep_ocean",
"JungleM_deep_ocean", "JungleM_deep_ocean",
"FlowerForest_deep_ocean", "FlowerForest_deep_ocean",
"MushroomIsland_ocean",
"MegaTaiga_ocean", "MegaTaiga_ocean",
"StoneBeach_deep_ocean", "StoneBeach_deep_ocean",
"IcePlainsSpikes_deep_ocean", "IcePlainsSpikes_deep_ocean",
@ -350,7 +347,6 @@ mcl_mobs:spawn_specific(
"MesaBryce_deep_ocean", "MesaBryce_deep_ocean",
"ExtremeHills+_deep_ocean", "ExtremeHills+_deep_ocean",
"ExtremeHills_ocean", "ExtremeHills_ocean",
"MushroomIsland_deep_ocean",
"Forest_ocean", "Forest_ocean",
"MegaTaiga_deep_ocean", "MegaTaiga_deep_ocean",
"JungleEdge_ocean", "JungleEdge_ocean",
@ -376,7 +372,6 @@ mcl_mobs:spawn_specific(
"RoofedForest_underground", "RoofedForest_underground",
"Jungle_underground", "Jungle_underground",
"Swampland_underground", "Swampland_underground",
"MushroomIsland_underground",
"BirchForest_underground", "BirchForest_underground",
"Plains_underground", "Plains_underground",
"MesaPlateauF_underground", "MesaPlateauF_underground",

View File

@ -42,7 +42,8 @@ local dolphin = {
walk_chance = 100, walk_chance = 100,
breath_max = 120, breath_max = 120,
rotate = 180, rotate = 180,
spawn_in_group = 3, spawn_in_group_min = 3,
spawn_in_group = 5,
tilt_swim = true, tilt_swim = true,
collisionbox = {-0.3, 0.0, -0.3, 0.3, 0.79, 0.3}, collisionbox = {-0.3, 0.0, -0.3, 0.3, 0.79, 0.3},
visual = "mesh", visual = "mesh",
@ -136,7 +137,6 @@ mcl_mobs:spawn_specific(
"FlowerForest_beach", "FlowerForest_beach",
"Forest_beach", "Forest_beach",
"StoneBeach", "StoneBeach",
"ColdTaiga_beach_water",
"Taiga_beach", "Taiga_beach",
"Savanna_beach", "Savanna_beach",
"Plains_beach", "Plains_beach",

View File

@ -767,10 +767,10 @@ mcl_mobs:spawn_specific(
"ground", "ground",
{ {
"Nether", "Nether",
"SoulsandValley", "SoulsandVall3ey",
}, },
0, 0,
minetest.LIGHT_MAX+1, 11,
30, 30,
27500, 27500,
4, 4,
@ -786,7 +786,7 @@ mcl_mobs:spawn_specific(
"WarpedForest" "WarpedForest"
}, },
0, 0,
minetest.LIGHT_MAX+1, 11,
30, 30,
5000, 5000,
4, 4,

View File

@ -578,7 +578,7 @@ mcl_mobs:spawn_specific(
"Savanna_beach", "Savanna_beach",
"Plains_beach", "Plains_beach",
}, },
0, 9,
minetest.LIGHT_MAX+1, minetest.LIGHT_MAX+1,
30, 30,
15000, 15000,

View File

@ -219,18 +219,16 @@ mcl_mobs:spawn_specific(
"overworld", "overworld",
"ground", "ground",
{ {
"Mesa", "Savanna",
"MesaPlateauFM_grasstop", "SavannaM",
"MesaPlateauF", "SavannaM_beach",
"MesaPlateauFM", "Savanna_beach",
"MesaPlateauF_grasstop", "Savanna_ocean",
"MesaBryce",
"Jungle",
"Jungle_shore",
"JungleM",
"JungleM_shore",
"JungleEdge", "JungleEdge",
"JungleEdgeM", "JungleEdgeM",
"ExtremeHills",
"ExtremeHills_beach",
"ExtremeHillsM",
}, },
0, 0,
minetest.LIGHT_MAX+1, minetest.LIGHT_MAX+1,

View File

@ -194,17 +194,12 @@ mcl_mobs:spawn_specific(
"ground", "ground",
{ {
"flat", "flat",
"IcePlainsSpikes",
"ColdTaiga",
"ColdTaiga_beach",
"ColdTaiga_beach_water",
"MegaTaiga", "MegaTaiga",
"MegaSpruceTaiga", "MegaSpruceTaiga",
"ExtremeHills", "ExtremeHills",
"ExtremeHills_beach", "ExtremeHills_beach",
"ExtremeHillsM", "ExtremeHillsM",
"ExtremeHills+", "ExtremeHills+",
"ExtremeHills+_snowtop",
"StoneBeach", "StoneBeach",
"Plains", "Plains",
"Plains_beach", "Plains_beach",

View File

@ -346,7 +346,7 @@ mcl_mobs:spawn_specific(
"Swampland", "Swampland",
"Swampland_shore" "Swampland_shore"
}, },
0, 9,
minetest.LIGHT_MAX+1, minetest.LIGHT_MAX+1,
30, 30,
15000, 15000,

View File

@ -101,7 +101,8 @@ mcl_mobs:spawn_specific(
"nether", "nether",
"ground", "ground",
{ {
"Nether" "Nether",
"SoulsandValley",
}, },
0, 0,
7, 7,

View File

@ -446,11 +446,6 @@ minetest.LIGHT_MAX+1,
mmin, mmin,
mmax) mmax)
--mcl_mobs:spawn_specific("mobs_mc:magma_cube_tiny", { "mcl_nether:nether_brick", "mcl_nether:netherrack" }, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 11000, 4, mmin, mmax)
--mcl_mobs:spawn_specific("mobs_mc:magma_cube_small", { "mcl_nether:nether_brick", "mcl_nether:netherrack" }, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 11100, 4, mmin, mmax)
--mcl_mobs:spawn_specific("mobs_mc:magma_cube_big", { "mcl_nether:nether_brick", "mcl_nether:netherrack" }, {"air"}, 0, minetest.LIGHT_MAX+1, 30, 11200, 4, mmin, mmax)
-- spawn eggs -- spawn eggs
mcl_mobs:register_egg("mobs_mc:magma_cube_big", S("Magma Cube"), "mobs_mc_spawn_icon_magmacube.png") mcl_mobs:register_egg("mobs_mc:magma_cube_big", S("Magma Cube"), "mobs_mc_spawn_icon_magmacube.png")
mcl_mobs:register_egg("mobs_mc:slime_big", S("Slime"), "mobs_mc_spawn_icon_slime.png") mcl_mobs:register_egg("mobs_mc:slime_big", S("Slime"), "mobs_mc_spawn_icon_slime.png")

View File

@ -109,7 +109,6 @@ mcl_mobs:spawn_specific(
"Plains", "Plains",
"Desert", "Desert",
"ColdTaiga", "ColdTaiga",
"MushroomIsland",
"IcePlainsSpikes", "IcePlainsSpikes",
"SunflowerPlains", "SunflowerPlains",
"IcePlains", "IcePlains",
@ -136,7 +135,6 @@ mcl_mobs:spawn_specific(
"ExtremeHills_beach", "ExtremeHills_beach",
"ColdTaiga_beach", "ColdTaiga_beach",
"Swampland_shore", "Swampland_shore",
"MushroomIslandShore",
"JungleM_shore", "JungleM_shore",
"Jungle_shore", "Jungle_shore",
"MesaPlateauFM_sandlevel", "MesaPlateauFM_sandlevel",
@ -175,7 +173,6 @@ mcl_mobs:spawn_specific(
"Forest_deep_ocean", "Forest_deep_ocean",
"JungleM_deep_ocean", "JungleM_deep_ocean",
"FlowerForest_deep_ocean", "FlowerForest_deep_ocean",
"MushroomIsland_ocean",
"MegaTaiga_ocean", "MegaTaiga_ocean",
"StoneBeach_deep_ocean", "StoneBeach_deep_ocean",
"IcePlainsSpikes_deep_ocean", "IcePlainsSpikes_deep_ocean",
@ -185,7 +182,6 @@ mcl_mobs:spawn_specific(
"MesaBryce_deep_ocean", "MesaBryce_deep_ocean",
"ExtremeHills+_deep_ocean", "ExtremeHills+_deep_ocean",
"ExtremeHills_ocean", "ExtremeHills_ocean",
"MushroomIsland_deep_ocean",
"Forest_ocean", "Forest_ocean",
"MegaTaiga_deep_ocean", "MegaTaiga_deep_ocean",
"JungleEdge_ocean", "JungleEdge_ocean",
@ -211,7 +207,6 @@ mcl_mobs:spawn_specific(
"RoofedForest_underground", "RoofedForest_underground",
"Jungle_underground", "Jungle_underground",
"Swampland_underground", "Swampland_underground",
"MushroomIsland_underground",
"BirchForest_underground", "BirchForest_underground",
"Plains_underground", "Plains_underground",
"MesaPlateauF_underground", "MesaPlateauF_underground",

View File

@ -162,7 +162,6 @@ mcl_mobs:spawn_specific(
"RoofedForest_underground", "RoofedForest_underground",
"Jungle_underground", "Jungle_underground",
"Swampland_underground", "Swampland_underground",
"MushroomIsland_underground",
"BirchForest_underground", "BirchForest_underground",
"Plains_underground", "Plains_underground",
"MesaPlateauF_underground", "MesaPlateauF_underground",
@ -198,7 +197,6 @@ mcl_mobs:spawn_specific(
"Forest", "Forest",
"Plains", "Plains",
"ColdTaiga", "ColdTaiga",
"MushroomIsland",
"IcePlainsSpikes", "IcePlainsSpikes",
"SunflowerPlains", "SunflowerPlains",
"IcePlains", "IcePlains",
@ -225,7 +223,6 @@ mcl_mobs:spawn_specific(
"ExtremeHills_beach", "ExtremeHills_beach",
"ColdTaiga_beach", "ColdTaiga_beach",
"Swampland_shore", "Swampland_shore",
"MushroomIslandShore",
"JungleM_shore", "JungleM_shore",
"Jungle_shore", "Jungle_shore",
"MesaPlateauFM_sandlevel", "MesaPlateauFM_sandlevel",
@ -254,7 +251,6 @@ mcl_mobs:spawn_specific(
"RoofedForest_underground", "RoofedForest_underground",
"Jungle_underground", "Jungle_underground",
"Swampland_underground", "Swampland_underground",
"MushroomIsland_underground",
"BirchForest_underground", "BirchForest_underground",
"Plains_underground", "Plains_underground",
"MesaPlateauF_underground", "MesaPlateauF_underground",
@ -290,7 +286,6 @@ mcl_mobs:spawn_specific(
"Forest", "Forest",
"Plains", "Plains",
"ColdTaiga", "ColdTaiga",
"MushroomIsland",
"IcePlainsSpikes", "IcePlainsSpikes",
"SunflowerPlains", "SunflowerPlains",
"IcePlains", "IcePlains",
@ -317,7 +312,6 @@ mcl_mobs:spawn_specific(
"ExtremeHills_beach", "ExtremeHills_beach",
"ColdTaiga_beach", "ColdTaiga_beach",
"Swampland_shore", "Swampland_shore",
"MushroomIslandShore",
"JungleM_shore", "JungleM_shore",
"Jungle_shore", "Jungle_shore",
"MesaPlateauFM_sandlevel", "MesaPlateauFM_sandlevel",

View File

@ -134,7 +134,8 @@ mcl_mobs:spawn_specific(
"nether", "nether",
"ground", "ground",
{ {
"Nether" "Nether",
"CrimsonForest",
}, },
0, 0,
minetest.LIGHT_MAX+1, minetest.LIGHT_MAX+1,