Files
tbd-station-14/Content.Shared/Wagging/WaggingComponent.cs
Morb 16b3e2233a Emotes Menu (#26702)
* Basic emote radial menu

* Move out from corvax

* Move to UI controller & add to top menu bar and key bind

* Make emote play

* Add name localization for emotes

* Localize chat messages

* Fix emote menu

* Add categories localization

* Fixes

* Fix

* Add emotes entity blacklist

* Fix entity whitelist required all logic

* Remove unused wagging emote

* Revert sprite

* Set default texture for emote icon

* Update Resources/keybinds.yml

---------

Co-authored-by: Kara <lunarautomaton6@gmail.com>
2024-04-28 21:38:23 -07:00

31 lines
767 B
C#

using Content.Shared.Chat.Prototypes;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Wagging;
/// <summary>
/// An emoting wag for markings.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class WaggingComponent : Component
{
[DataField]
public EntProtoId Action = "ActionToggleWagging";
[DataField]
public EntityUid? ActionEntity;
/// <summary>
/// Suffix to add to get the animated marking.
/// </summary>
public string Suffix = "Animated";
/// <summary>
/// Is the entity currently wagging.
/// </summary>
[DataField]
public bool Wagging = false;
}