Functionsยง
- are_
our_ ๐owners_ hostile - entities_
have_ ๐line_ of_ sight - get_
attacker ๐ - get_
entity_ by_ id - handle_
attack_ ๐aggression - Handles whether an agent should attack and how the agent moves around. Returns whether the agent should attack (so that individual tactics can determine what specific attack to use)
- is_dead
- is_
dead_ or_ invulnerable - is_
dressed_ ๐as_ cultist - is_
dressed_ ๐as_ pirate - is_
dressed_ ๐as_ witch - is_
invulnerable - is_
steering - is_
village_ ๐guard - is_
villager ๐ - positions_
have_ ๐line_ of_ sight - should_
continue_ ๐to_ pursue - Scores the benefit of continuing the pursue in value from 0 to infinity.
- should_
let_ ๐target_ escape - Scores the benefit of letting the target escape in a value from 0 to infinity.
- stop_
pursuing - Calculates whether the agent should continue chase or let the target escape.
- try_
owner_ ๐alignment - Gets alignment of owner if alignment given is
Owned. Returns original alignment if not owned.