6
2026-01-18 12:53:36 +03:00

24 lines
736 B
C#

using Content.Shared.RCD.Systems;
using Robust.Shared.GameStates;
namespace Content.Shared.RCD.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(RCDAmmoSystem))]
public sealed partial class RCDAmmoComponent : Component
{
/// <summary>
/// How many charges are contained in this ammo cartridge.
/// Can be partially transferred into an RCD, until it is empty then it gets deleted.
/// </summary>
[DataField, AutoNetworkedField]
public int Charges = 30;
/// <summary>
/// ~~~ Frontier ~~~
/// A flag that limits RCD to the authorized ships.
/// </summary>
[DataField("isShipyardRCDAmmo"), AutoNetworkedField]
public bool IsShipyardRCDAmmo;
}