using Content.Server.NPC.Systems; namespace Content.Server.NPC.Components; /// /// Prevents an NPC from attacking ignored entities from enemy factions. /// Can be added to if pettable, see PettableFriendComponent. /// [RegisterComponent, Access(typeof(NpcFactionSystem))] public sealed partial class FactionExceptionComponent : Component { /// /// Collection of entities that this NPC will refuse to attack /// [DataField("ignored")] public HashSet Ignored = new(); /// /// Collection of entities that this NPC will attack, regardless of faction. /// [DataField("hostiles")] public HashSet Hostiles = new(); }