19 lines
563 B
C#
19 lines
563 B
C#
namespace Content.Shared.Weapons.Ranged.Components;
|
|
|
|
public abstract partial class BatteryAmmoProviderComponent : AmmoProviderComponent
|
|
{
|
|
/// <summary>
|
|
/// How much battery it costs to fire once.
|
|
/// </summary>
|
|
[DataField("fireCost"), ViewVariables(VVAccess.ReadWrite)]
|
|
public float FireCost = 100;
|
|
|
|
// Batteries aren't predicted which means we need to track the battery and manually count it ourselves woo!
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public int Shots;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public int Capacity;
|
|
}
|