Compare commits
2 Commits
bcfc53e348
...
59562a6a9c
Author | SHA1 | Date | |
---|---|---|---|
59562a6a9c | |||
f607a3c454 |
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user