Added Robocop ABM

This commit is contained in:
Functioning Member of Society 2022-11-21 19:14:18 -05:00
parent c2791bb267
commit 7e219419e0

View File

@ -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", {
type = "monster",
passive = false,