using Content.Shared.NPC.Prototypes; using Content.Shared.NPC.Systems; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared.NPC.Components; [RegisterComponent, NetworkedComponent, Access(typeof(NpcFactionSystem))] public sealed partial class NpcFactionMemberComponent : Component { /// /// Factions this entity is a part of. /// [DataField] public HashSet> Factions = new(); /// /// Cached friendly factions. /// [ViewVariables] public readonly HashSet> FriendlyFactions = new(); /// /// Cached hostile factions. /// [ViewVariables] public readonly HashSet> HostileFactions = new(); // Nyano - Summary - Begin modified code block: support for specific entities to be friendly. /// /// Permanently friendly specific entities. Our summoner, etc. /// Would like to separate. Could I do that by extending this method, maybe? /// public HashSet ExceptionalFriendlies = new(); // Nyano - End modified code block. }