fox mobs are "monster" type so no taming or picking up

This commit is contained in:
tenplus1 2024-04-16 17:11:00 +01:00
parent 6ff63826f2
commit 68cdaf4125

View File

@ -49,23 +49,7 @@ mobs:register_mob("dmobs:fox", {
run_end = 16,
punch_start = 36,
punch_end = 51
},
on_activate = function(self)
if math.random(5) == 1 then
self.type = "animal"
end
end,
on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 8, true, true) then
return
end
mobs:capture_mob(self, clicker, 0, 5, 50, false, nil)
end
}
})