* -ItemStatus for BatteryGuns -EjectCell Verb -Using the gun throws the battery also on the ground * Copy the flashlight and call it a day * Name a red fruit * Remove SoundGunshot
25 lines
724 B
C#
25 lines
724 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Content.Shared.GameObjects.Components.Weapons.Ranged.Barrels
|
|
{
|
|
[Serializable, NetSerializable]
|
|
public class BatteryBarrelComponentState : ComponentState
|
|
{
|
|
public FireRateSelector FireRateSelector { get; }
|
|
public (int count, int max)? Magazine { get; }
|
|
|
|
public BatteryBarrelComponentState(
|
|
FireRateSelector fireRateSelector,
|
|
(int count, int max)? magazine) :
|
|
base(ContentNetIDs.BATTERY_BARREL)
|
|
{
|
|
FireRateSelector = fireRateSelector;
|
|
Magazine = magazine;
|
|
}
|
|
}
|
|
}
|