ECS AME (#16779)
This commit is contained in:
26
Content.Server/Ame/Components/AmeShieldComponent.cs
Normal file
26
Content.Server/Ame/Components/AmeShieldComponent.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Content.Server.Ame.EntitySystems;
|
||||
using Content.Shared.Ame;
|
||||
|
||||
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 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;
|
||||
}
|
||||
Reference in New Issue
Block a user