Files
crystall-punk-14/Content.Shared/_CP14/Farming/Components/CP14PlantGrowingComponent.cs

21 lines
578 B
C#
Raw Normal View History

namespace Content.Shared._CP14.Farming.Components;
/// <summary>
/// Is trying to use up the plant's energy and resources to grow.
/// </summary>
[RegisterComponent, Access(typeof(CP14SharedFarmingSystem))]
public sealed partial class CP14PlantGrowingComponent : Component
{
[DataField]
public float EnergyCost = 0f;
[DataField]
public float ResourceCost = 0f;
/// <summary>
/// for each plant renewal. It is not every frame, it depends on the refresh rate in PlantComponent
/// </summary>
[DataField]
public float GrowthPerUpdate = 0f;
}