diff --git a/Content.Client/Chat/Managers/ChatManager.cs b/Content.Client/Chat/Managers/ChatManager.cs index 70336fe99c..009579df98 100644 --- a/Content.Client/Chat/Managers/ChatManager.cs +++ b/Content.Client/Chat/Managers/ChatManager.cs @@ -14,7 +14,7 @@ internal sealed class ChatManager : IChatManager [Dependency] private readonly IEntitySystemManager _systems = default!; private ISawmill _sawmill = default!; - public event Action? PermissionsUpdated; //Nyano - Summary: need to be able to update perms for new psionics + public event Action? PermissionsUpdated; //Nyano - Summary: need to be able to update perms for new psionics. public void Initialize() { _sawmill = Logger.GetSawmill("chat"); @@ -67,7 +67,7 @@ public void SendMessage(string text, ChatSelectChannel channel) _consoleHost.ExecuteCommand($"whisper \"{CommandParsing.Escape(str)}\""); break; - //Nyano - Summary: sends the command for telepath communication + //Nyano - Summary: sends the command for telepath communication. case ChatSelectChannel.Telepathic: _consoleHost.ExecuteCommand($"tsay \"{CommandParsing.Escape(str)}\""); break; @@ -81,7 +81,7 @@ public void SendMessage(string text, ChatSelectChannel channel) throw new ArgumentOutOfRangeException(nameof(channel), channel, null); } } - //Nyano - Summary: fires off the update permissions script + //Nyano - Summary: fires off the update permissions script. public void UpdatePermissions() { PermissionsUpdated?.Invoke(); diff --git a/Content.Client/SimpleStation14/Species/Shadowkin/Systems/ShadowkinSystem.Tint.cs b/Content.Client/SimpleStation14/Species/Shadowkin/Systems/ShadowkinSystem.Tint.cs index 7f8e49b382..7c853cdf01 100644 --- a/Content.Client/SimpleStation14/Species/Shadowkin/Systems/ShadowkinSystem.Tint.cs +++ b/Content.Client/SimpleStation14/Species/Shadowkin/Systems/ShadowkinSystem.Tint.cs @@ -86,7 +86,6 @@ public override void Update(float frameTime) const float min = 0.45f; const float max = 0.75f; - // TODO This math doesn't match the comments, figure out which is correct comp.TintIntensity = Math.Clamp(min + (comp.PowerLevel / comp.PowerLevelMax) / 3, min, max); UpdateShader(comp.TintColor, comp.TintIntensity); diff --git a/Content.Server/SimpleStation14/Chat/SimpleStationChatSystem.cs b/Content.Server/SimpleStation14/Chat/SimpleStationChatSystem.cs index 90308de38d..6655e023d8 100644 --- a/Content.Server/SimpleStation14/Chat/SimpleStationChatSystem.cs +++ b/Content.Server/SimpleStation14/Chat/SimpleStationChatSystem.cs @@ -16,7 +16,7 @@ namespace Content.Server.SimpleStation14.Chat { /// - /// Extensions for Parkstation's chat stuff + /// Extensions for Parkstation's chat stuff /// public sealed class SimpleStationChatSystem : EntitySystem { diff --git a/Content.Server/SimpleStation14/Species/Shadowkin/Systems/ShadowkinPowerSystem.Darken.cs b/Content.Server/SimpleStation14/Species/Shadowkin/Systems/ShadowkinPowerSystem.Darken.cs index 7c3730f5fe..d69280bc88 100644 --- a/Content.Server/SimpleStation14/Species/Shadowkin/Systems/ShadowkinPowerSystem.Darken.cs +++ b/Content.Server/SimpleStation14/Species/Shadowkin/Systems/ShadowkinPowerSystem.Darken.cs @@ -77,6 +77,7 @@ public override void Update(float frameTime) // Not a light we should affect if (!_entity.TryGetComponent(light, out ShadowkinLightComponent? shadowkinLight)) continue; + // Not powered, undo changes if (_entity.TryGetComponent(light, out PoweredLightComponent? powered) && !powered.On) { @@ -98,6 +99,7 @@ public override void Update(float frameTime) shadowkin.DarkenedLights.Remove(light); continue; } + // 3% chance to remove the attached entity so it can become another Shadowkin's light if (shadowkinLight.AttachedEntity == uid) {