Files

26 lines
709 B
C#
Raw Permalink Normal View History

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