using System.Numerics; using Content.Shared.Weapons.Melee.Components; using Robust.Shared.GameStates; namespace Content.Shared.Anomaly.Components; /// /// This is used for an entity with that is governed by an anomaly core inside of it. /// [RegisterComponent, NetworkedComponent] [Access(typeof(SharedAnomalyCoreSystem))] public sealed partial class CorePoweredThrowerComponent : Component { /// /// The ID of the item slot containing the core. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public string CoreSlotId = "core_slot"; /// /// A range for how much the stability variable on the anomaly will increase with each throw. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public Vector2 StabilityPerThrow = new(0.1f, 0.2f); }