Files
crystall-punk-14/Content.Shared/_CP14/Farming/Components/CP14PlantGrowingComponent.cs
Ed 48831380b4 Give some love to farming (#1124)
* give some love to farming

* Queryptimization

* Fuck soil!!!

* fuck soil in prototypes!

* seeds improve

* partial merge wild and farm

* some strange fix

* plant kills refactor, add compost

* fix compost

* Update migration.yml

* rain can watering plants

* sage update

* Update seeds.yml

* sage smoking update

* Update seeds.yml
2025-04-03 15:29:08 +03:00

21 lines
578 B
C#

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;
}