Hackable intercoms (#23984)

* Enable wire interface for intercom

* Implement BlockListening component and system

* Implement ListenWireAction

* Added cooldown/overload to mic wire pulse

* Properly persist voicemask settings when user already has one.

* Addressed requested changes

* Added wire panel open/closed visuals
This commit is contained in:
Tayrtahn
2024-01-14 00:37:28 -05:00
committed by GitHub
parent 22c0b4425d
commit 2d6d2aba0b
11 changed files with 186 additions and 0 deletions

View File

@@ -847,6 +847,16 @@ public sealed partial class ChatSystem : SharedChatSystem
return modifiedMessage.ToString();
}
public string BuildGibberishString(IReadOnlyList<char> charOptions, int length)
{
var sb = new StringBuilder();
for (var i = 0; i < length; i++)
{
sb.Append(_random.Pick(charOptions));
}
return sb.ToString();
}
#endregion
}