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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user