Minor changes to robocops
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user