Finalize for release 0.5
This commit is contained in:
@@ -80,7 +80,7 @@ minetest.register_abm({
|
||||
interval = 40,
|
||||
chance = 140,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
if cops.copsSpawned < 20 then
|
||||
if cops.copsSpawned < 25 then
|
||||
newPos = {x = pos.x, y = pos.y + 2, z = pos.z}
|
||||
local i = math.random(0, 7)
|
||||
if i < 2 then
|
||||
@@ -280,4 +280,5 @@ onCopDie = function(self, pos)
|
||||
minetest.set_node(pos, {name = "literal_trash:bloodstain", param2 = 1})
|
||||
destruction_counter.pigsKilled = destruction_counter.pigsKilled + 1
|
||||
cops.copsSpawned = cops.copsSpawned - 1
|
||||
destruction_counter.updateCounter()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user