Commit b8f6952b authored by Milan's avatar Milan
Browse files

zombie_mini: don't check for setting, comment spawn away

parent a6740a8d
...@@ -52,15 +52,15 @@ if mobs.mod and mobs.mod == "redo" then ...@@ -52,15 +52,15 @@ if mobs.mod and mobs.mod == "redo" then
{"air"}, {"air"},
-1, 7, 30, 10000, 2, -31000, 31000 -1, 7, 30, 10000, 2, -31000, 31000
) )
mobs:spawn_specific("mobs_zombie:zombie_mini", -- mobs:spawn_specific("mobs_zombie:zombie_mini",
{"default:stone", "default:dirt_with_grass"}, -- {"default:stone", "default:dirt_with_grass"},
{"air"}, -- {"air"},
-1, 7, 30, 10000, 2, -31000, 31000 -- -1, 7, 30, 10000, 2, -31000, 31000
) -- )
mobs:register_egg("mobs_zombie:zombie", "Zombie", "zombie_head.png", 0) mobs:register_egg("mobs_zombie:zombie", "Zombie", "zombie_head.png", 0)
-- mini zombie -- mini zombie
if ENABLE_MINI_ZOMBIE then -- if ENABLE_MINI_ZOMBIE then
mobs:register_mob("mobs_zombie:zombie_mini", { mobs:register_mob("mobs_zombie:zombie_mini", {
type = "monster", type = "monster",
visual = "mesh", visual = "mesh",
...@@ -103,7 +103,7 @@ if mobs.mod and mobs.mod == "redo" then ...@@ -103,7 +103,7 @@ if mobs.mod and mobs.mod == "redo" then
{name = "mobs_zombie:rotten_flesh", chance = 1, min = 1, max = 1,} {name = "mobs_zombie:rotten_flesh", chance = 1, min = 1, max = 1,}
} }
}) })
end -- end
-- rotten flesh -- rotten flesh
minetest.register_craftitem("mobs_zombie:rotten_flesh", { minetest.register_craftitem("mobs_zombie:rotten_flesh", {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment