yl_spawnit/mobs_mese_monster_classic.lua
2023-11-21 16:21:31 -08:00

16 lines
451 B
Lua

local BASE_CHANCE_RATIO = 6000 -- dirt monster
spawnit.register({
entity_name = "mobs_mese_monster_classic:mese_monster",
groups = { monster = 1 },
chance = yl_spawnit.base_chance * 5000 / BASE_CHANCE_RATIO,
on = { "any" },
near = { "default:mese", "default:stone_with_mese" },
max_y = -20,
max_node_light = 7,
max_in_area = 1,
max_any_in_area = 6,
min_player_distance = 12,
spawn_in_protected = false,
}, yl_spawnit.settings.check_nodes)