* 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
21 lines
578 B
C#
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;
|
|
}
|