Media
![image](https://github.com/user-attachments/assets/845ec5d3-20aa-4786-bdc8-c39c80e0a4a3)
See below
# Changelog
No cl no fun
---------
Signed-off-by: Mnemotechnican <69920617+Mnemotechnician@users.noreply.github.com>
Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
---
.../Administration/Commands/DSay.cs | 1 +
.../Administration/Commands/OSay.cs | 1 +
.../EntitySystems/AdvertiseSystem.cs | 1 +
.../EntitySystems/SpeakOnUIClosedSystem.cs | 1 +
Content.Server/Chat/Commands/LOOCCommand.cs | 1 +
Content.Server/Chat/Commands/MeCommand.cs | 1 +
Content.Server/Chat/Commands/SayCommand.cs | 1 +
.../Chat/Commands/WhisperCommand.cs | 1 +
.../Chat/Systems/AutoEmoteSystem.cs | 1 +
.../Chat/Systems/ChatSystem.Emote.cs | 4 +-
Content.Server/Chat/Systems/ChatSystem.cs | 195 +++++++-----------
.../Chat/Systems/EmoteOnDamageSystem.cs | 2 +
.../Chemistry/ReagentEffects/Emote.cs | 1 +
Content.Server/Cloning/CloningSystem.cs | 3 +-
Content.Server/Cluwne/CluwneSystem.cs | 1 +
.../DeltaV/NPC/Roboisseur/RoboisseurSystem.cs | 1 +
.../Language/Commands/SayLanguageCommand.cs | 1 +
Content.Server/Magic/MagicSystem.cs | 1 +
Content.Server/Medical/DefibrillatorSystem.cs | 1 +
Content.Server/Mobs/CritMobActionsSystem.cs | 1 +
.../PrimitiveTasks/Operators/SpeakOperator.cs | 1 +
.../Specific/MedibotInjectOperator.cs | 1 +
.../Nyanotrasen/Chat/TSayCommand.cs | 1 +
Content.Server/Nyanotrasen/Mail/MailSystem.cs | 1 +
.../SophicScribe/SophicScribeSystem.cs | 1 +
.../Radio/EntitySystems/RadioSystem.cs | 12 +-
Content.Server/RatKing/RatKingSystem.cs | 1 +
Content.Server/Speech/Muting/MutingSystem.cs | 7 +-
.../Speech/Systems/RandomBarkSystem.cs | 1 +
.../SurveillanceCameraSpeakerSystem.cs | 1 +
.../Weapons/Melee/MeleeWeaponSystem.cs | 1 +
Content.Shared/Chat/SharedChatSystem.cs | 42 +++-
Content.Shared/Language/LanguagePrototype.cs | 67 ++++--
.../Locale/en-US/language/languages-sign.ftl | 6 +
Resources/Locale/en-US/language/languages.ftl | 6 +-
.../Locale/en-US/language/sign-language.ftl | 4 -
Resources/Prototypes/Language/languages.yml | 66 ++++--
37 files changed, 267 insertions(+), 172 deletions(-)
create mode 100644 Resources/Locale/en-US/language/languages-sign.ftl
delete mode 100644 Resources/Locale/en-US/language/sign-language.ftl
diff --git a/Content.Server/Administration/Commands/DSay.cs b/Content.Server/Administration/Commands/DSay.cs
index 61b47d78567..935387d24f1 100644
--- a/Content.Server/Administration/Commands/DSay.cs
+++ b/Content.Server/Administration/Commands/DSay.cs
@@ -1,5 +1,6 @@
using Content.Server.Chat.Systems;
using Content.Shared.Administration;
+using Content.Shared.Chat;
using Robust.Shared.Console;
namespace Content.Server.Administration.Commands
diff --git a/Content.Server/Administration/Commands/OSay.cs b/Content.Server/Administration/Commands/OSay.cs
index 2f17bd9d70a..9c5a20ef693 100644
--- a/Content.Server/Administration/Commands/OSay.cs
+++ b/Content.Server/Administration/Commands/OSay.cs
@@ -2,6 +2,7 @@
using Content.Server.Administration.Logs;
using Content.Server.Chat.Systems;
using Content.Shared.Administration;
+using Content.Shared.Chat;
using Content.Shared.Database;
using Robust.Shared.Console;
diff --git a/Content.Server/Advertise/EntitySystems/AdvertiseSystem.cs b/Content.Server/Advertise/EntitySystems/AdvertiseSystem.cs
index 28fa01628f4..e34506deac4 100644
--- a/Content.Server/Advertise/EntitySystems/AdvertiseSystem.cs
+++ b/Content.Server/Advertise/EntitySystems/AdvertiseSystem.cs
@@ -1,6 +1,7 @@
using Content.Server.Advertise.Components;
using Content.Server.Chat.Systems;
using Content.Server.Power.Components;
+using Content.Shared.Chat;
using Content.Shared.VendingMachines;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
diff --git a/Content.Server/Advertise/EntitySystems/SpeakOnUIClosedSystem.cs b/Content.Server/Advertise/EntitySystems/SpeakOnUIClosedSystem.cs
index 048f59b8d33..939fc9a2dbb 100644
--- a/Content.Server/Advertise/EntitySystems/SpeakOnUIClosedSystem.cs
+++ b/Content.Server/Advertise/EntitySystems/SpeakOnUIClosedSystem.cs
@@ -2,6 +2,7 @@
using Content.Server.Chat.Systems;
using Content.Server.UserInterface;
using Content.Shared.Advertise;
+using Content.Shared.Chat;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
diff --git a/Content.Server/Chat/Commands/LOOCCommand.cs b/Content.Server/Chat/Commands/LOOCCommand.cs
index 9e16193fc38..c347f14bd1c 100644
--- a/Content.Server/Chat/Commands/LOOCCommand.cs
+++ b/Content.Server/Chat/Commands/LOOCCommand.cs
@@ -1,5 +1,6 @@
using Content.Server.Chat.Systems;
using Content.Shared.Administration;
+using Content.Shared.Chat;
using Robust.Shared.Console;
using Robust.Shared.Enums;
diff --git a/Content.Server/Chat/Commands/MeCommand.cs b/Content.Server/Chat/Commands/MeCommand.cs
index e763d5656e1..9dff32b6579 100644
--- a/Content.Server/Chat/Commands/MeCommand.cs
+++ b/Content.Server/Chat/Commands/MeCommand.cs
@@ -1,5 +1,6 @@
using Content.Server.Chat.Systems;
using Content.Shared.Administration;
+using Content.Shared.Chat;
using Robust.Shared.Console;
using Robust.Shared.Enums;
diff --git a/Content.Server/Chat/Commands/SayCommand.cs b/Content.Server/Chat/Commands/SayCommand.cs
index 273f908c9ab..a31ddbdb7a2 100644
--- a/Content.Server/Chat/Commands/SayCommand.cs
+++ b/Content.Server/Chat/Commands/SayCommand.cs
@@ -1,5 +1,6 @@
using Content.Server.Chat.Systems;
using Content.Shared.Administration;
+using Content.Shared.Chat;
using Robust.Shared.Console;
using Robust.Shared.Enums;
diff --git a/Content.Server/Chat/Commands/WhisperCommand.cs b/Content.Server/Chat/Commands/WhisperCommand.cs
index c88e2519ee6..db967dbbb2d 100644
--- a/Content.Server/Chat/Commands/WhisperCommand.cs
+++ b/Content.Server/Chat/Commands/WhisperCommand.cs
@@ -1,5 +1,6 @@
using Content.Server.Chat.Systems;
using Content.Shared.Administration;
+using Content.Shared.Chat;
using Robust.Shared.Console;
using Robust.Shared.Enums;
diff --git a/Content.Server/Chat/Systems/AutoEmoteSystem.cs b/Content.Server/Chat/Systems/AutoEmoteSystem.cs
index 3d6bd535401..8e02f7f53f1 100644
--- a/Content.Server/Chat/Systems/AutoEmoteSystem.cs
+++ b/Content.Server/Chat/Systems/AutoEmoteSystem.cs
@@ -1,4 +1,5 @@
using System.Linq;
+using Content.Shared.Chat;
using Content.Shared.Chat.Prototypes;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
diff --git a/Content.Server/Chat/Systems/ChatSystem.Emote.cs b/Content.Server/Chat/Systems/ChatSystem.Emote.cs
index bd1b944db30..c18b945ec6f 100644
--- a/Content.Server/Chat/Systems/ChatSystem.Emote.cs
+++ b/Content.Server/Chat/Systems/ChatSystem.Emote.cs
@@ -1,5 +1,6 @@
using System.Collections.Frozen;
using System.Linq;
+using Content.Shared.Chat;
using Content.Shared.Chat.Prototypes;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
@@ -87,7 +88,8 @@ public void TryEmoteWithChat(
{
// not all emotes are loc'd, but for the ones that are we pass in entity
var action = Loc.GetString(_random.Pick(emote.ChatMessages), ("entity", source));
- SendEntityEmote(source, action, range, nameOverride, hideLog: hideLog, checkEmote: false, ignoreActionBlocker: ignoreActionBlocker);
+ var language = _language.GetLanguage(source);
+ SendEntityEmote(source, action, range, nameOverride, language, hideLog: hideLog, checkEmote: false, ignoreActionBlocker: ignoreActionBlocker);
}
// do the rest of emote event logic here
diff --git a/Content.Server/Chat/Systems/ChatSystem.cs b/Content.Server/Chat/Systems/ChatSystem.cs
index 05342dbe3c0..022520abeb0 100644
--- a/Content.Server/Chat/Systems/ChatSystem.cs
+++ b/Content.Server/Chat/Systems/ChatSystem.cs
@@ -6,12 +6,9 @@
using Content.Server.Chat.Managers;
using Content.Server.GameTicking;
using Content.Server.Language;
-using Content.Server.Speech;
using Content.Server.Speech.Components;
using Content.Server.Speech.EntitySystems;
using Content.Server.Nyanotrasen.Chat;
-using Content.Server.Speech.Components;
-using Content.Server.Speech.EntitySystems;
using Content.Server.Station.Components;
using Content.Server.Station.Systems;
using Content.Shared.ActionBlocker;
@@ -20,9 +17,9 @@
using Content.Shared.Database;
using Content.Shared.Ghost;
using Content.Shared.Language;
-using Content.Shared.Humanoid;
using Content.Shared.IdentityManagement;
using Content.Shared.Interaction;
+using Content.Shared.Language.Systems;
using Content.Shared.Mobs.Systems;
using Content.Shared.Players;
using Content.Shared.Radio;
@@ -45,6 +42,10 @@
namespace Content.Server.Chat.Systems;
+// Dear contributor. When I was introducing changes to this system only god and I knew what I was doing.
+// Now only god knows. Please don't touch this code ever again. If you do have to, increment this counter as a warning for others:
+// TOTAL_HOURS_WASTED_HERE_EE = 17
+
// TODO refactor whatever active warzone this class and chatmanager have become
///