Compare commits
No commits in common. "59562a6a9ccc60221adffb1d9f68bd8d447c7239" and "bcfc53e3489d47918c04d9ae562a665c71fc33ee" have entirely different histories.
59562a6a9c
...
bcfc53e348
@ -1,19 +1,9 @@
|
|||||||
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)
|
||||||
if numberOfCops < 50 then
|
minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "robocops:robocop")
|
||||||
minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "robocops:robocop")
|
|
||||||
numberOfCops = numberOfCops + 1
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -42,8 +32,8 @@ mobs:register_mob("robocops:robocop", {
|
|||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
|
|
||||||
|
|
||||||
walk_velocity = 2,
|
walk_velocity = 4,
|
||||||
run_velocity = 3,
|
run_velocity = 5,
|
||||||
jump_height = 1,
|
jump_height = 1,
|
||||||
stepheight = 0,
|
stepheight = 0,
|
||||||
floats = 0,
|
floats = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user