2022-09-28 22:30:48 -04:00
|
|
|
namespace Content.Server.Revenant.Components;
|
2022-08-13 09:49:41 -04:00
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
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>
|
2022-09-28 22:30:48 -04:00
|
|
|
[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>
|
2022-09-28 22:30:48 -04:00
|
|
|
[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>
|
2022-09-28 22:30:48 -04:00
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2022-08-13 09:49:41 -04:00
|
|
|
public float EssenceAmount = 0f;
|
|
|
|
|
}
|