2021-10-15 14:45:04 -07:00
|
|
|
|
using Content.Shared.Alert;
|
|
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.StatusEffect
|
|
|
|
|
|
{
|
|
|
|
|
|
[Prototype("statusEffect")]
|
2023-11-01 19:56:23 -07:00
|
|
|
|
public sealed partial class StatusEffectPrototype : IPrototype
|
2021-10-15 14:45:04 -07:00
|
|
|
|
{
|
2023-01-19 03:56:45 +01:00
|
|
|
|
[IdDataField]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public string ID { get; private set; } = default!;
|
2021-10-15 14:45:04 -07:00
|
|
|
|
|
|
|
|
|
|
[DataField("alert")]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public AlertType? Alert { get; private set; }
|
2021-10-15 14:45:04 -07:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Whether a status effect should be able to apply to any entity,
|
|
|
|
|
|
/// regardless of whether it is in ALlowedEffects or not.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("alwaysAllowed")]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public bool AlwaysAllowed { get; private set; }
|
2021-10-15 14:45:04 -07:00
|
|
|
|
}
|
|
|
|
|
|
}
|