CatStation/Content.Shared/Actions/Components/DangerousActionComponent.cs
ScarKy0 091180655d
Changeling Chemicals (#45239)
* 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
2026-08-19 19:25:16 +00:00

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;
}