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

monsters spawn in different areas if ethereal detected

This commit is contained in:
TenPlus1
2017-02-21 15:32:50 +00:00
parent 8edcad5201
commit 386c2cb77a
9 changed files with 66 additions and 31 deletions

View File

@ -1,6 +1,7 @@
local S = mobs.intllib
-- Oerkki by PilzAdam
mobs:register_mob("mobs_monster:oerkki", {
@ -57,6 +58,7 @@ mobs:register_mob("mobs_monster:oerkki", {
},
})
mobs:spawn({
name = "mobs_monster:oerkki",
nodes = {"default:stone"},
@ -65,7 +67,8 @@ mobs:spawn({
max_height = -10,
})
mobs:register_egg("mobs_monster:oerkki", S("Oerkki"), "default_obsidian.png", 1)
-- compatibility
mobs:alias_mob("mobs:oerkki", "mobs_monster:oerkki")
mobs:alias_mob("mobs:oerkki", "mobs_monster:oerkki") -- compatiblity