Files
space-station-14/Content.Shared/Actions/Components/PopupOnActionComponent.cs
T
Pok 61f98c14d3 Changeling reagent stings (#43805)
* Changeling-Stings

* update yml

* attempt failed dead

* sprite and ChangelingNeurodepressantSting

* Update changeling_catalog.yml

* merge

* update

* review

* review 2

* clean up, remove non-blind stings

* fix stuff

* lethal, cryogenic, hallucination + armblade  nerf

* validate deez

* a

* review

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2026-06-04 19:29:21 +00:00

36 lines
946 B
C#

using Content.Shared.Popups;
using Robust.Shared.GameStates;
namespace Content.Shared.Actions.Components;
/// <summary>
/// Displays a popup message when the action is successfully performed.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(PopupOnActionSystem))]
public sealed partial class PopupOnActionComponent : Component
{
/// <summary>
/// The locale ID of the message to the performer of the action.
/// </summary>
[DataField]
public LocId? SelfMessage;
/// <summary>
/// The message to show to those around the performer of the action.
/// </summary>
[DataField]
public LocId? OthersMessage;
/// <summary>
/// The message to show to the action target.
/// </summary>
[DataField]
public LocId? TargetMessage;
/// <summary>
/// The visual style of the popup.
/// </summary>
[DataField]
public PopupType PopupType = PopupType.Small;
}