2023-06-28 05:02:06 -07:00
|
|
|
namespace Content.Server.Ame.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An antimatter containment cell used to handle the fuel for the AME.
|
|
|
|
|
/// TODO: network and put in shared
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class AmeFuelContainerComponent : Component
|
2023-06-28 05:02:06 -07:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The amount of fuel in the jar.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("fuelAmount")]
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public int FuelAmount = 1000;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The maximum fuel capacity of the jar.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("fuelCapacity")]
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public int FuelCapacity = 1000;
|
|
|
|
|
}
|