Всякое (#96)

* - tweak: Pull eaxe from uplink.

* - tweak: Nerf spear.

* - tweak: Give sec hardsuits heat resist.

* - tweak: Revert mistakes.

* - tweak: No discounts for nukies.

* - tweak: Nerf hardsuit prices.

* - fix: Fix cult chat whisper.
This commit is contained in:
Aviu00
2024-02-19 13:52:35 +09:00
committed by GitHub
parent 4cdc419429
commit d306f59452
13 changed files with 52 additions and 40 deletions

View File

@@ -27,6 +27,7 @@ using Content.Shared.Radio;
using Content.Shared._White;
using Content.Shared.Speech;
using Content.Shared._White.Cult;
using Content.Shared._White.Cult.Systems;
using Robust.Server.Player;
using Robust.Shared.Audio;
using Robust.Shared.Audio.Systems;
@@ -67,6 +68,7 @@ public sealed partial class ChatSystem : SharedChatSystem
[Dependency] private readonly ReplacementAccentSystem _wordreplacement = default!;
[Dependency] private readonly INetConfigurationManager _netConfigurationManager = default!; // WD
[Dependency] private readonly GameTicker _gameTicker = default!; // WD
[Dependency] private readonly CultistWordGeneratorManager _wordGenerator = default!; // WD
//WD-EDIT
[Dependency] private readonly PandaWebManager _pandaWeb = default!;
@@ -816,6 +818,8 @@ public sealed partial class ChatSystem : SharedChatSystem
_chatManager.ChatMessageToMany(ChatChannel.Cult, message, wrappedMessage, source, hideChat, false,
clients.ToList());
SendEntityWhisper(source, _wordGenerator.GenerateText(message), ChatTransmitRange.Normal, null, null);
}
private IEnumerable<INetChannel> GetCultChatClients()