26 lines
709 B
C#
26 lines
709 B
C#
namespace Content.Server.Revenant.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class EssenceComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Whether or not the entity has been harvested yet.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public bool Harvested = false;
|
|
|
|
/// <summary>
|
|
/// Whether or not a revenant has searched this entity
|
|
/// for its soul yet.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public bool SearchComplete = false;
|
|
|
|
/// <summary>
|
|
/// The total amount of Essence that the entity has.
|
|
/// Changes based on mob state.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float EssenceAmount = 0f;
|
|
}
|