Added Robocop ABM
This commit is contained in:
parent
c2791bb267
commit
7e219419e0
@ -1,3 +1,12 @@
|
|||||||
|
minetest.register_abm({
|
||||||
|
nodenames = {"poop:poop"},
|
||||||
|
interval = 10,
|
||||||
|
chance = 50,
|
||||||
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
minetest.add_entity(pos, "robocops:robocop")
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
mobs:register_mob("robocops:robocop", {
|
mobs:register_mob("robocops:robocop", {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
passive = false,
|
passive = false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user