Added player_api
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
minetest.register_abm({
|
||||
nodenames = {"poop:poop"},
|
||||
nodenames = {"poop:grey_bricks"},
|
||||
interval = 10,
|
||||
chance = 50,
|
||||
chance = 90,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
minetest.add_entity(pos, "robocops:robocop")
|
||||
minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "robocops:robocop")
|
||||
end
|
||||
})
|
||||
|
||||
mobs:register_mob("robocops:robocop", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogshoot",
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 3,
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 560 B After Width: | Height: | Size: 247 B |
Reference in New Issue
Block a user