mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-06-09 10:06:43 +02:00
61f98c14d3
* 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>
36 lines
946 B
C#
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;
|
|
}
|