Minor changes to robocops

This commit is contained in:
2022-11-22 14:22:18 -05:00
2 changed files with 17 additions and 10 deletions

View File

@@ -2,8 +2,13 @@ local numberOfCops = 0
minetest.register_abm({
nodenames = {"poop:grey_bricks"},
<<<<<<< HEAD
interval = 20,
chance = 300,
=======
interval = 30,
chance = 200,
>>>>>>> bcfc53e3489d47918c04d9ae562a665c71fc33ee
action = function(pos, node, active_object_count, active_object_count_wider)
if numberOfCops < 50 then
minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "robocops:robocop")