mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-05-01 04:27:58 +03:00
* Using wrench on AME doesn't first try to put it in. * Refactor AME to use ItemSlot for fuel. * Apparently these names want to match. (cherry picked from commit c47391011d0f7f56dfcba8e4db348f0dc0d58c09)
20 lines
597 B
C#
20 lines
597 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Ame.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class AmeFuelContainerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The amount of fuel in the container.
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
|
|
public int FuelAmount = 1000;
|
|
|
|
/// <summary>
|
|
/// The maximum fuel capacity of the container.
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
|
|
public int FuelCapacity = 1000;
|
|
}
|