| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using Content.Server.Anomaly.Effects;
- namespace Content.Server.Anomaly.Components;
- /// <summary>
- /// Hides some information about the anomaly when scanning it
- /// </summary>
- [RegisterComponent, Access(typeof(SecretDataAnomalySystem), typeof(AnomalySystem))]
- public sealed partial class SecretDataAnomalyComponent : Component
- {
- /// <summary>
- /// Minimum hidden data elements on MapInit
- /// </summary>
- [DataField]
- public int RandomStartSecretMin = 0;
- /// <summary>
- /// Maximum hidden data elements on MapInit
- /// </summary>
- [DataField]
- public int RandomStartSecretMax = 0;
- /// <summary>
- /// Current secret data
- /// </summary>
- [DataField]
- public List<AnomalySecretData> Secret = new();
- }
- /// <summary>
- /// Enum with secret data field variants
- /// </summary>
- [Serializable]
- public enum AnomalySecretData : byte
- {
- Severity,
- Stability,
- OutputPoint,
- ParticleDanger,
- ParticleUnstable,
- ParticleContainment,
- ParticleTransformation,
- Behavior,
- Default
- }
|