using Content.Shared.Alert; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared.Revenant.Components; [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class RevenantRegenModifierComponent : Component { [DataField(required: true), ViewVariables, AutoNetworkedField] public HashSet Witnesses; [DataField(required: true), ViewVariables, AutoNetworkedField] public int NewHaunts; [DataField] public ProtoId Alert = "EssenceRegen"; public RevenantRegenModifierComponent(HashSet witnesses, int newHaunts) { Witnesses = witnesses; NewHaunts = newHaunts; } public RevenantRegenModifierComponent() : this(new(), 0) { } }