mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-15 03:31:30 +01:00
22 lines
574 B
C#
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;
|
|
}
|