Where are the rats?

master
James Stevenson 2018-12-26 05:16:35 -05:00
parent 8697b6b2a3
commit 7c37b939b6
1 changed files with 2 additions and 1 deletions

View File

@ -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",