mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* 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
38 lines
1.1 KiB
C#
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;
|
|
}
|