Compare commits

...

2 Commits

Author SHA1 Message Date
59562a6a9c Minor changes to robocops 2022-11-22 14:22:18 -05:00
f607a3c454 Changes to cops 2022-11-22 13:57:14 -05:00

View File

@ -1,9 +1,19 @@
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)
minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "robocops:robocop")
if numberOfCops < 50 then
minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "robocops:robocop")
numberOfCops = numberOfCops + 1
end
end
})
@ -32,8 +42,8 @@ mobs:register_mob("robocops:robocop", {
makes_footstep_sound = true,
walk_velocity = 4,
run_velocity = 5,
walk_velocity = 2,
run_velocity = 3,
jump_height = 1,
stepheight = 0,
floats = 0,