Files
space-station-14/Content.Server/Botany/Components/PlantToxinsComponent.cs
2025-12-12 23:05:58 +03:00

22 lines
574 B
C#

namespace Content.Server.Botany.Components;
/// <summary>
/// Data for plant resistance to toxins.
/// </summary>
[RegisterComponent]
[DataDefinition]
public sealed partial class PlantToxinsComponent : Component
{
/// <summary>
/// Maximum toxin level the plant can tolerate before taking damage.
/// </summary>
[DataField]
public float ToxinsTolerance = 4f;
/// <summary>
/// Divisor for calculating toxin uptake rate. Higher values mean slower toxin processing.
/// </summary>
[DataField]
public float ToxinUptakeDivisor = 10f;
}