1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2025-07-04 17:30:21 +02:00

Added spawn.lua check for custom mob spawns, example file included

This commit is contained in:
tenplus1
2020-09-21 10:03:08 +01:00
parent 144c851207
commit 4018a5c8e8
11 changed files with 224 additions and 13 deletions

View File

@ -62,6 +62,7 @@ mobs:register_mob("mobs_monster:dungeon_master", {
})
if not mobs.custom_spawn_monster then
mobs:spawn({
name = "mobs_monster:dungeon_master",
nodes = {"default:stone"},
@ -70,6 +71,7 @@ mobs:spawn({
active_object_count = 1,
max_height = -70,
})
end
mobs:register_egg("mobs_monster:dungeon_master", S("Dungeon Master"), "fire_basic_flame.png", 1, true)