* Action charges refactor - Fixes the slight godmoding of baseactioncomponent. - Gets back 1ms of server time. * chorg * Remove FrameUpdate * Fixes * More fixes * Combine * Fixes * Updates * weh * Last fixes * weh * Fix naughty * YAML fixes * This one too * Merge conflicts * This thing * Review * Fix this as well * Icon fix * weh * Review * Review * seamless * Review
17 lines
525 B
C#
17 lines
525 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;
|
|
}
|