E.g. when a baby boar was attacked, all adult boars nearby should become mad at the attacker.
E.g. when a baby boar was attacked, all adult boars nearby should become mad at the attacker.
E.g. when a baby boar was attacked, all adult boars nearby should become mad at the attacker.
If mobs check other mobs in an area, I could see this possibly easily implemented. I've wanted to do something like this for a while in Exile with Pegasuns. I could see it being done as so
-- run after on_punch:
function self:need_help(self, puncher)
for _,mob in pairs(self.mobs_in_range) do
if mob.name == self.name and mobs.age >= (self.adult_age) then
mob:call_for_help(self,puncher)
end
end
end
and make code that activates when call_for_help is called - adults who get called with it coming to the aid of the baby boar and attacking the puncher
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?