not_friends ![code/datums/ai/basic_mobs/targeting_strategies/dont_target_friends.dm 2](git.png)
Don't target an atom in our friends list (or turfs), anything else is fair game
Vars | |
attack_closed_turf | If we can try to closed turfs or not |
---|---|
attack_obj | If we want it to attack ALL OBJECTS |
attack_until_past_stat | Stop regarding someone as a valid target once they pass this stat level, setting it to DEAD means you will happily attack corpses |
Procs | |
can_attack | Returns true or false depending on if the target can be attacked by the mob |
faction_check | friends dont care about factions |
Var Details
attack_closed_turf ![code/datums/ai/basic_mobs/targeting_strategies/dont_target_friends.dm 6](git.png)
If we can try to closed turfs or not
attack_obj ![code/datums/ai/basic_mobs/targeting_strategies/dont_target_friends.dm 8](git.png)
If we want it to attack ALL OBJECTS
attack_until_past_stat ![code/datums/ai/basic_mobs/targeting_strategies/dont_target_friends.dm 4](git.png)
Stop regarding someone as a valid target once they pass this stat level, setting it to DEAD means you will happily attack corpses
Proc Details
can_attack
Returns true or false depending on if the target can be attacked by the mob
faction_check
friends dont care about factions