EssenceComponent.cs 709 B

12345678910111213141516171819202122232425
  1. namespace Content.Server.Revenant.Components;
  2. [RegisterComponent]
  3. public sealed partial class EssenceComponent : Component
  4. {
  5. /// <summary>
  6. /// Whether or not the entity has been harvested yet.
  7. /// </summary>
  8. [ViewVariables(VVAccess.ReadWrite)]
  9. public bool Harvested = false;
  10. /// <summary>
  11. /// Whether or not a revenant has searched this entity
  12. /// for its soul yet.
  13. /// </summary>
  14. [ViewVariables(VVAccess.ReadWrite)]
  15. public bool SearchComplete = false;
  16. /// <summary>
  17. /// The total amount of Essence that the entity has.
  18. /// Changes based on mob state.
  19. /// </summary>
  20. [ViewVariables(VVAccess.ReadWrite)]
  21. public float EssenceAmount = 0f;
  22. }