Files
tbd-station-14/Content.Server/Botany/Components/PlantHolderComponent.cs
LittleNyanCat c027919618 Several small SFX tweaks (#28897)
* Several small sfx tweaks

* fix small yml oopsie

* Redo the basin code to use events

* now uses an event for when the transfer is successful, not when there's just an attempt

* forgot to remove this

* Update Content.Server/Botany/Components/PlantHolderComponent.cs

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>

* Update Content.Server/Botany/Systems/PlantHolderSystem.cs

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>

* adds sound variations to shoes as well

* variations on honkbots and the H.O.N.K mech

* Update Content.Server/Botany/Systems/PlantHolderSystem.cs

* Update Content.Server/Botany/Systems/PlantHolderSystem.cs

* fix compile issue

* oops forgot to delete this

* cleanup

---------

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2024-10-16 20:38:02 -05:00

102 lines
1.9 KiB
C#

using Content.Shared.Chemistry.Components;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
using Robust.Shared.Audio;
namespace Content.Server.Botany.Components;
[RegisterComponent]
public sealed partial class PlantHolderComponent : Component
{
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan NextUpdate = TimeSpan.Zero;
[DataField]
public TimeSpan UpdateDelay = TimeSpan.FromSeconds(3);
[DataField]
public int LastProduce;
[DataField]
public int MissingGas;
[DataField]
public TimeSpan CycleDelay = TimeSpan.FromSeconds(15f);
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan LastCycle = TimeSpan.Zero;
[DataField]
public SoundSpecifier? WateringSound;
[DataField]
public bool UpdateSpriteAfterUpdate;
[DataField]
public bool DrawWarnings = false;
[DataField]
public float WaterLevel = 100f;
[DataField]
public float NutritionLevel = 100f;
[DataField]
public float PestLevel;
[DataField]
public float WeedLevel;
[DataField]
public float Toxins;
[DataField]
public int Age;
[DataField]
public int SkipAging;
[DataField]
public bool Dead;
[DataField]
public bool Harvest;
[DataField]
public bool Sampled;
[DataField]
public int YieldMod = 1;
[DataField]
public float MutationMod = 1f;
[DataField]
public float MutationLevel;
[DataField]
public float Health;
[DataField]
public float WeedCoefficient = 1f;
[DataField]
public SeedData? Seed;
[DataField]
public bool ImproperHeat;
[DataField]
public bool ImproperPressure;
[DataField]
public bool ImproperLight;
[DataField]
public bool ForceUpdate;
[DataField]
public string SoilSolutionName = "soil";
[DataField]
public Entity<SolutionComponent>? SoilSolution = null;
}