]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove tail wag emote text (#25054)
authorKrunklehorn <42424291+Krunklehorn@users.noreply.github.com>
Thu, 8 Feb 2024 23:08:06 +0000 (18:08 -0500)
committerGitHub <noreply@github.com>
Thu, 8 Feb 2024 23:08:06 +0000 (18:08 -0500)
Removed emote text

Content.Server/Wagging/WaggingSystem.cs
Resources/Locale/en-US/actions/actions/wagging.ftl

index 5d4163fa65f2ee31d511269266c9c23cd03bb01e..7e9ffbbc8f46eccba9e92f31b5b731d3cc5cf5c5 100644 (file)
@@ -1,5 +1,4 @@
 using Content.Server.Actions;
-using Content.Server.Chat.Systems;
 using Content.Server.Humanoid;
 using Content.Shared.Humanoid;
 using Content.Shared.Humanoid.Markings;
@@ -16,7 +15,6 @@ namespace Content.Server.Wagging;
 public sealed class WaggingSystem : EntitySystem
 {
     [Dependency] private readonly ActionsSystem _actions = default!;
-    [Dependency] private readonly ChatSystem _chat = default!;
     [Dependency] private readonly HumanoidAppearanceSystem _humanoidAppearance = default!;
     [Dependency] private readonly IPrototypeManager _prototype = default!;
 
@@ -102,9 +100,6 @@ public sealed class WaggingSystem : EntitySystem
                 humanoid: humanoid);
         }
 
-        var emoteText = Loc.GetString(wagging.Wagging ? "wagging-emote-start" : "wagging-emote-stop", ("ent", uid));
-        _chat.TrySendInGameICMessage(uid, emoteText, InGameICChatType.Emote, ChatTransmitRange.Normal); // Ok while emotes dont have radial menu
-
         return true;
     }
 }
index 2fbcb676f4e0ef236391945d11bdaea64bfbe871..da0cfa0f27b86f48aa81e34ff4bcef3db4fc3acc 100644 (file)
@@ -1,5 +1,2 @@
 action-name-toggle-wagging = Wagging Tail
 action-description-toggle-wagging = Start or stop wagging tail.
-
-wagging-emote-start = starts wagging {POSS-ADJ($ent)} tail.
-wagging-emote-stop = stops wagging {POSS-ADJ($ent)} tail.
\ No newline at end of file