Files
wwdpublic/Content.Client/Weapons/Ranged/Components/SpentAmmoVisualsComponent.cs
PoorMansDreams 9461cd2ab4 Fixed Tipped ammo not being Spent (#25167)
Fix Tipped Ammo not being Spent

(cherry picked from commit e40318b83130a532e3654bdacd08993220b7be93)
2024-02-18 23:01:40 +01:00

22 lines
480 B
C#

using Content.Client.Weapons.Ranged.Systems;
namespace Content.Client.Weapons.Ranged.Components;
[RegisterComponent, Access(typeof(GunSystem))]
public sealed partial class SpentAmmoVisualsComponent : Component
{
/// <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,
Tip,
}