Files
tbd-station-14/Content.Shared/Anomaly/Components/CorePoweredThrowerComponent.cs
Nemanja 9bd03824ac GORILLA Gauntlets (#23012)
* GORILLA gauntlets

* oh shit this too
2023-12-27 20:11:13 -07:00

26 lines
885 B
C#

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