mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* prediction * fix * reviews * warnings * cleanup * grupdate * bruh --------- Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
18 lines
602 B
C#
18 lines
602 B
C#
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.AlertLevel;
|
|
|
|
/// <summary>
|
|
/// Allows an entity to change visuals depending on the station's current alertlevel.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class AlertLevelDisplayComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The RSI state to use for each alert level.
|
|
/// Changes the <see cref="AlertLevelDisplay.Layer"/> layer accordingly.
|
|
/// If the device is unpowered that layer will be hidden.
|
|
/// </summary>
|
|
[DataField]
|
|
public Dictionary<ProtoId<AlertLevelPrototype>, string> AlertVisuals = new();
|
|
}
|