mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
* initially works i think * yeah * pulled these numbers outta my ass * text * silly * fixy fix * fix * This sure is a videogame * init test fuck everything * sprites * fix dirty * query * another query * craftable changeling sting * remove todo * \n * doc
24 lines
734 B
C#
24 lines
734 B
C#
using Content.Shared.Popups;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Actions.Components;
|
|
|
|
/// <summary>
|
|
/// If the user attempts an action with this component,
|
|
/// it is aborted with a custom message while the user is pacified.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class DangerousActionComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The popup the action user will see when the user is pacified.
|
|
/// </summary>
|
|
[DataField]
|
|
public LocId PacificationMessage = "dangerous-action-popup";
|
|
|
|
/// <summary>
|
|
/// What popup type the pacified message should appear as.
|
|
/// </summary>
|
|
[DataField]
|
|
public PopupType MessageType = PopupType.SmallCaution;
|
|
}
|