Compare commits
2 Commits
bcfc53e348
...
59562a6a9c
Author | SHA1 | Date | |
---|---|---|---|
59562a6a9c | |||
f607a3c454 |
@ -1,9 +1,19 @@
|
|||||||
|
local numberOfCops = 0
|
||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"poop:grey_bricks"},
|
nodenames = {"poop:grey_bricks"},
|
||||||
|
<<<<<<< HEAD
|
||||||
|
interval = 20,
|
||||||
|
chance = 300,
|
||||||
|
=======
|
||||||
interval = 30,
|
interval = 30,
|
||||||
chance = 200,
|
chance = 200,
|
||||||
|
>>>>>>> bcfc53e3489d47918c04d9ae562a665c71fc33ee
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
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
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -32,8 +42,8 @@ mobs:register_mob("robocops:robocop", {
|
|||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
|
|
||||||
|
|
||||||
walk_velocity = 4,
|
walk_velocity = 2,
|
||||||
run_velocity = 5,
|
run_velocity = 3,
|
||||||
jump_height = 1,
|
jump_height = 1,
|
||||||
stepheight = 0,
|
stepheight = 0,
|
||||||
floats = 0,
|
floats = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user