* 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
18 lines
439 B
C#
18 lines
439 B
C#
namespace Content.Shared._CP14.Farming.Components;
|
|
|
|
/// <summary>
|
|
/// allows the plant to receive energy passively, depending on daylight
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(CP14SharedFarmingSystem))]
|
|
public sealed partial class CP14PlantEnergyFromLightComponent : Component
|
|
{
|
|
[DataField]
|
|
public float Energy = 0f;
|
|
|
|
[DataField]
|
|
public bool Daytime = true;
|
|
|
|
[DataField]
|
|
public bool Nighttime = false;
|
|
}
|