Finalize for release 0.5

This commit is contained in:
2022-11-27 14:08:38 -05:00
parent ac9ea6c4e0
commit 971dc82648
34 changed files with 379 additions and 49 deletions

View File

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