From d9b90f056c5a4b2568c9f91d54abd7031b06ba09 Mon Sep 17 00:00:00 2001 From: flux <25628292+fluxionary@users.noreply.github.com> Date: Tue, 21 Nov 2023 16:21:31 -0800 Subject: [PATCH] add mese monster classic --- mobs_mese_monster_classic.lua | 15 +++++++++++++++ mod.conf | 1 + 2 files changed, 16 insertions(+) create mode 100644 mobs_mese_monster_classic.lua diff --git a/mobs_mese_monster_classic.lua b/mobs_mese_monster_classic.lua new file mode 100644 index 0000000..169f29a --- /dev/null +++ b/mobs_mese_monster_classic.lua @@ -0,0 +1,15 @@ +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) diff --git a/mod.conf b/mod.conf index 5c67976..ca2cf8e 100644 --- a/mod.conf +++ b/mod.conf @@ -17,6 +17,7 @@ mobs_balrog, mobs_banshee, mobs_gazer, mobs_ghost_redo, +mobs_mese_monster_classic, mobs_mime, mobs_monster, mobs_others,