* Added new anomaly particle * Add basic anomaly behaviour * +2 parametres * add functional to new particle * add components to behaviours * big content * add shuffle, moved thing to server * clean up * fixes * random pick redo * bonjour behavioUr * fix AJCM * fix * add some new behaviours * power modifier behaviour * rmeove timer * new event for update ui fix * refactor! * fixes * enum * Fix mapinit * Minor touches --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
46 lines
1.0 KiB
C#
46 lines
1.0 KiB
C#
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
|
|
}
|