Add ItemStatus to energy weapons (#1921)
* -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
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user