Where are the rats?
parent
8697b6b2a3
commit
7c37b939b6
|
@ -45,6 +45,7 @@ minetest.register_node("mobs:spawner", {
|
|||
end
|
||||
end
|
||||
local mobs = {
|
||||
"mobs:rat",
|
||||
"mobs:rat",
|
||||
"mobs:npc",
|
||||
}
|
||||
|
@ -54,7 +55,7 @@ minetest.register_node("mobs:spawner", {
|
|||
local protection = minetest.find_node_near(pos, 13,
|
||||
{"protector:protect", "protector:protect2"}, true)
|
||||
if not protection and (biome == "underground" or night) and
|
||||
minetest.get_node_light(pos) < 6 then
|
||||
minetest.get_node_light(pos) < 7 then
|
||||
local mobs_to_insert = {
|
||||
"mobs:dungeon_master",
|
||||
"mobs:oerkki",
|
||||
|
|
Loading…
Reference in New Issue