2022-06-01 19:59:58 +10:00
|
|
|
using Content.Client.Weapons.Ranged.Systems;
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.Weapons.Ranged.Components;
|
|
|
|
|
|
2022-06-07 15:26:28 +02:00
|
|
|
[RegisterComponent, Access(typeof(GunSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class SpentAmmoVisualsComponent : Component
|
2022-06-01 19:59:58 +10:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Should we do "{_state}-spent" or just "spent"
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("suffix")] public bool Suffix = true;
|
|
|
|
|
|
|
|
|
|
[DataField("state")]
|
|
|
|
|
public string State = "base";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum AmmoVisualLayers : byte
|
|
|
|
|
{
|
|
|
|
|
Base,
|
2024-02-13 13:40:15 -08:00
|
|
|
Tip,
|
2022-06-01 19:59:58 +10:00
|
|
|
}
|