Files
wwdpublic/Content.Server/Ame/Components/AmeShieldComponent.cs
LordCarve ba36e5195f Refactor AME to use ItemSlot for Fuel (#25558)
* 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)
2024-03-07 01:08:04 +01:00

27 lines
846 B
C#

using Content.Server.Ame.EntitySystems;
using Content.Shared.Ame.Components;
namespace Content.Server.Ame.Components;
/// <summary>
/// The component used to make an entity part of the bulk machinery of an AntiMatter Engine.
/// Connects to adjacent entities with this component or <see cref="AmeControllerComponent"/> to make an AME.
/// </summary>
[Access(typeof(AmeShieldingSystem), typeof(AmeNodeGroup))]
[RegisterComponent]
public sealed partial class AmeShieldComponent : SharedAmeShieldComponent
{
/// <summary>
/// Whether or not this AME shield counts as a core for the AME or not.
/// </summary>
[ViewVariables]
public bool IsCore = false;
/// <summary>
/// The current integrity of the AME shield.
/// </summary>
[DataField("integrity")]
[ViewVariables]
public int CoreIntegrity = 100;
}