ECS AME (#16779)
This commit is contained in:
23
Content.Server/Ame/Components/AmeFuelContainerComponent.cs
Normal file
23
Content.Server/Ame/Components/AmeFuelContainerComponent.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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]
|
||||
public sealed class AmeFuelContainerComponent : Component
|
||||
{
|
||||
/// <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;
|
||||
}
|
||||
Reference in New Issue
Block a user