1
0

mobs and mobs_jam that mixed and resume mobs_animal+mobs_monster+mobs_doomed

* spawn tune up, more animals in the world and more monters in undergrounds
* penguin spawns more (was pretty rare found one) also permit to spawn in higer grounds
* rats spawns more but pretty more down, basically only in dungeons
* sheep spawns more due we need more lana, autodetect ethereal and put nodes to spawn
* tortoise spawns more
* wardog spawns more
* panda spawn not only in ethereal, also spawn in normal mods
* kitty spawn more frecuently, less rare
* mese monster and lava flan spwans more
* owl spawn more
* fire spirit can spawn now in lava also, and cave realms if detected
* cow spawns more
* more chicken and als permit to spawn ar the sea level too
* bee spawn little more but in more high levels
* bunny spawns more
This commit is contained in:
mckaygerhard 2023-08-06 22:15:14 -04:00
parent f8f4d17f2f
commit bc8892e022
15 changed files with 41 additions and 36 deletions

View File

@ -56,9 +56,9 @@ if not mobs.custom_spawn_animal then
nodes = {"group:flower"},
min_light = 14,
interval = 60,
chance = 7000,
min_height = 3,
max_height = 200,
chance = 6000,
min_height = 11,
max_height = 300,
day_toggle = true
})
end

View File

@ -141,7 +141,7 @@ if not mobs.custom_spawn_animal then
neighbors = {"group:grass"},
min_light = 14,
interval = 60,
chance = 8000,
chance = 5000,
min_height = 5,
max_height = 200,
day_toggle = true

View File

@ -109,8 +109,8 @@ if not mobs.custom_spawn_animal then
neighbors = {"group:grass"},
min_light = 14,
interval = 60,
chance = 8000,
min_height = 5,
chance = 4000,
min_height = 2,
max_height = 200,
day_toggle = true
})

View File

@ -158,8 +158,8 @@ if not mobs.custom_spawn_animal then
neighbors = {"group:grass"},
min_light = 14,
interval = 60,
chance = 8000,
min_height = 5,
chance = 4000,
min_height = 3,
max_height = 200,
day_toggle = true
})

View File

@ -81,10 +81,10 @@ mobs:register_mob(":mobs_monster:fire_spirit", {
})
local spawnon = {"default:obsidian"}
local spawnon = {"default:obsidian", "default:lava_source"}
if minetest.get_modpath("caverealms") then
spawnon = {"default:obsidian", "caverealms:hot_cobble"}
spawnon = {"default:obsidian", "caverealms:hot_cobble", "default:lava_source"}
end
if not mobs.custom_spawn_monster then
@ -93,11 +93,11 @@ if not mobs.custom_spawn_monster then
name = ":mobs_monster:fire_spirit",
nodes = spawnon,
neighbors = {"group:fire"},
min_light = 12,
min_light = 5,
max_light = 15,
chance = 1500,
chance = 1200,
active_object_count = 1,
max_height = -150
max_height = -100
})
end

View File

@ -134,21 +134,21 @@ mobs:register_mob(":mobs_animal:kitten", {
})
local spawn_on = "default:dirt_with_grass"
local spawn_on = {"default:dirt_with_grass"}
if minetest.get_modpath("ethereal") then
spawn_on = "ethereal:grove_dirt"
spawn_on = {"ethereal:grove_dirt","default:dirt_with_grass"}
end
if not mobs.custom_spawn_animal then
mobs:spawn({
name = ":mobs_animal:kitten",
nodes = {spawn_on},
nodes = spawn_on,
neighbors = {"group:grass"},
min_light = 14,
interval = 60,
chance = 10000,
chance = 8000,
min_height = 5,
max_height = 50,
day_toggle = true

View File

@ -328,7 +328,7 @@ if not mobs.custom_spawn_monster then
name = ":mobs_monster:mese_monster",
nodes = {"default:stone"},
max_light = 7,
chance = 5000,
chance = 4500,
active_object_count = 1,
max_height = -90
})

View File

@ -66,7 +66,7 @@ if not mobs.custom_spawn_monster then
name = ":mobs_monster:oerkki",
nodes = {"default:stone"},
max_light = 7,
chance = 7000,
chance = 5000,
max_height = -60
})
end

View File

@ -98,4 +98,4 @@ mobs:register_mob(":mobs_doomed:owl", {
mobs:register_egg(":mobs_doomed:owl", "Owl", "default_tree.png", 1)
mobs:spawn({name = ":mobs_doomed:owl", nodes = {"group:tree"}, neighbor = {},
min_light = 0, max_light = 7, interval = 300, chance = 16000, active_object_count = 2, min_height = 0, max_height = 2000})
min_light = 0, max_light = 7, interval = 300, chance = 9000, active_object_count = 2, min_height = 0, max_height = 2000})

View File

@ -33,7 +33,7 @@ stepheight = 0.6,
run_velocity = 1.5,
jump = false,
jump_height = 6,
follow = {"ethereal:bamboo", "bamboo:trunk"},
follow = {"ethereal:bamboo", "bamboo:trunk", "default:papyrus"},
view_range = 8,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 2}
@ -69,16 +69,19 @@ stepheight = 0.6,
end
})
local spawn_on = {"default:dirt_with_grass"}
if minetest.get_modpath("ethereal") and not mobs.custom_spawn_animal then
if minetest.get_modpath("ethereal") then spawn_on = {"ethereal:bamboo_dirt", "default:dirt_with_grass"} end
if not mobs.custom_spawn_animal then
mobs:spawn({
name = ":mobs_animal:panda",
nodes = {"ethereal:bamboo_dirt"},
nodes = spawn_on,
neighbors = {"group:grass"},
min_light = 14,
interval = 60,
chance = 8000,
min_height = 10,
chance = 4000,
min_height = 5,
max_height = 80,
day_toggle = true
})

View File

@ -68,8 +68,8 @@ if not mobs.custom_spawn_animal then
nodes = {"default:snowblock"},
min_light = 14,
interval = 60,
chance = 20000,
min_height = 0,
chance = 10000,
min_height = 1000,
max_height = 200,
day_toggle = true
})

10
rat.lua
View File

@ -5,7 +5,7 @@ local S = mobs.intllib_animal
-- Rat by KPavel and PilzAdam (B3D model by sirrobzeroone)
mobs:register_mob(":mobs_animal:rat", {
stepheight = 0.6,
stepheight = 0.6,
type = "animal",
passive = true,
hp_min = 1,
@ -75,11 +75,11 @@ if not mobs.custom_spawn_animal then
mobs:spawn({
name = ":mobs_animal:rat",
nodes = {"default:stone"},
min_light = 3,
max_light = 9,
min_light = 2,
max_light = 10,
interval = 60,
chance = 8000,
max_height = 0,
chance = 1000,
max_height = 50,
-- on_spawn = rat_spawn,
})
end

View File

@ -370,9 +370,11 @@ end
if not mobs.custom_spawn_animal then
local max_ht = 400
local spawn_on = {"default:dirt_with_grass", "ethereal:green_dirt"}
local spawn_on = {"default:dirt_with_grass"}
local mod_ethereal = minetest.get_modpath("ethereal")
local spawn_chance = 8000
local spawn_chance = 4000
if mod_ethereal then spawn_on = {"default:dirt_with_grass", "ethereal:green_dirt"} end
mobs:spawn({
name = ":mobs_animal:sheep_white",

View File

@ -71,4 +71,4 @@ mobs:register_mob(":mobs_doomed:tortoise", {
mobs:register_egg(":mobs_doomed:tortoise", "Tortoise", "default_grass.png", 1)
mobs:spawn({name = ":mobs_doomed:tortoise", nodes = {"default:water_source", "group:sand"}, neighbor = {},
min_light = 5, max_light = 10, interval = 300, chance = 8000, active_object_count = 2, min_height = -100, max_height = 500})
min_light = 5, max_light = 10, interval = 300, chance = 4000, active_object_count = 2, min_height = -100, max_height = 500})

View File

@ -88,7 +88,7 @@ if not mobs.custom_spawn_animal then
neighbors = spawn_by,
min_light = 14,
interval = 60,
chance = 8000,
chance = 4000,
min_height = 0,
max_height = 200,
day_toggle = true