CatStation/Content.Shared/Contraband/ContrabandSeverityPrototype.cs
UpAndLeaves 0c27263fba
Add recursive storage checking to the admin contra overlay. (#44759)
* Add recursive storage checking to the admin contra overlay.

* remove redundant dependencies

* Requested changes

* whoops :P

* Requested changes

* Requested changes

* Requested changes

* Rqchanges + automatic reformatting whoops

* RQ

* RQ
2026-08-09 18:22:03 +00:00

38 lines
1.1 KiB
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.Contraband;
/// <summary>
/// This is a prototype for defining the degree of severity for a particular <see cref="ContrabandComponent"/>
/// </summary>
[Prototype]
public sealed partial class ContrabandSeverityPrototype : IPrototype
{
/// <inheritdoc/>
[IdDataField]
public string ID { get; private set; } = default!;
/// <summary>
/// Text shown for this severity level when the contraband is examined.
/// </summary>
[DataField]
public LocId ExamineText;
/// <summary>
/// The color of the contraband (used in multiple places like the text color, icon color etc...)
/// </summary>
[DataField]
public Color Color = Color.Red;
/// <summary>
/// When examining the contraband, should this take into account the viewer's departments and job?
/// </summary>
[DataField]
public bool ShowDepartmentsAndJobs;
/// <summary>
/// Whether this contraband warning should be shown above others, higher number is higher priority.
/// </summary>
[DataField]
public int Priority = 1;
}