mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
* 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
15 lines
402 B
C#
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;
|
|
}
|