yl_spawnit/mobs_others.lua

25 lines
621 B
Lua

spawnit.register({
entity_name = "mobs_others:snow_walker",
groups = { monster = 1 },
chance = yl_spawnit.base_chance,
on = {
"default:dirt_with_snow",
"default:permafrost",
"default:permafrost_with_stones",
"default:permafrost_with_moss",
"default:snow",
"default:snowblock",
"default:ice",
"default:cave_ice",
},
min_y = -15,
max_in_area = 2,
max_any_in_area = 6,
min_time_of_day = yl_spawnit.dusk,
max_time_of_day = yl_spawnit.dawn,
min_player_distance = 12,
spawn_in_protected = false,
}, yl_spawnit.settings.check_nodes)
-- the ice monsters are automatically spawned w/ the snow walkers