Files
Delta-v/Content.Server/_CD/Traits/SynthComponent.cs
T
Falcon d94ea1d0e1 cherrypick: PR 149 and 329 from cosmatic-drift-14/cosmatic-drift (#3409)
* Synth Trait (cosmatic-drift-14/cosmatic-drift#149 and cosmatic-drift-14/cosmatic-drift#329) from cosmatic-drift-14/cosmatic-drift

* Initial trait implementation

* Fix the trait.

* Readd fields.

* fix: required comments for code changes upstream

* feat: added excluded species field to traits.yml

* fix: switching races now disables the unsupported trait

* chore: added missing comment

* fix: requested changes

* fix: CR Round 2

* chore: missed changes in foreign file
2025-04-10 13:42:24 -04:00

15 lines
402 B
C#

namespace Content.Server._CD.Traits;
/// <summary>
/// Set players' blood to coolant, and is used to notify them of ion storms
/// </summary>
[RegisterComponent, Access(typeof(SynthSystem))]
public sealed partial class SynthComponent : Component
{
/// <summary>
/// The chance that the synth is alerted of an ion storm
/// </summary>
[DataField]
public float AlertChance = 0.3f;
}