* 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>
31 lines
767 B
C#
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;
|
|
}
|