master
Alexsandro Percy 2022-01-01 13:33:08 -03:00
parent 415de9b5be
commit 033f37106c
2 changed files with 3 additions and 2 deletions

View File

@ -244,7 +244,7 @@ local function spawnstep(dtime)
--minetest.chat_send_all(dump(area.name))
if area.name == "cemetery" or area.name == "Cemetery" or area.name == "zbd" then
--if height and --height >= 0 and
--if height and height >= 0 and
if mobkit.nodeatpos({x=pos2.x,y=height-0.01,z=pos2.z}).is_ground_content then
local objs = minetest.get_objects_inside_radius(pos,abr*distance_multiplier+5)

View File

@ -2,8 +2,9 @@ local storage = minetest.get_mod_storage()
zombie_score = {}
local prizes = {
{500, "default:mese", 1, "mese block"},
{1000, "default:diamondblock", 1, "diamond block"},
{2000, "default:diamondblock", 2, "diamond block"},
{1500, "default:diamondblock", 2, "diamond block"},
}
-- load scoreboard