using Content.Shared.Botany.Systems; using Robust.Shared.GameStates; namespace Content.Shared.Botany.Components; /// /// Component for basic parameters for plant growth. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState(fieldDeltas: true, raiseAfterAutoHandleState: true)] [Access(typeof(PlantGrowthSystem))] public sealed partial class PlantGrowthComponent : Component { /// /// Amount of water consumed per growth tick. /// [DataField, AutoNetworkedField] public float WaterConsumption = 0.5f; /// /// Amount of nutrients consumed per growth tick. /// [DataField, AutoNetworkedField] public float NutrientConsumption = 0.75f; }