GORILLA Gauntlets (#23012)

* GORILLA gauntlets

* oh shit this too
This commit is contained in:
Nemanja
2023-12-27 22:11:13 -05:00
committed by GitHub
parent f2379040f2
commit 9bd03824ac
22 changed files with 542 additions and 46 deletions

View File

@@ -0,0 +1,25 @@
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);
}