Рандомфиксы (#590)
* remove brainrot from owo accent * convert sounds to mono * fix double cmo pants
This commit is contained in:
@@ -5,20 +5,10 @@ namespace Content.Server.Speech.EntitySystems
|
|||||||
{
|
{
|
||||||
public sealed class OwOAccentSystem : EntitySystem
|
public sealed class OwOAccentSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IRobustRandom _random = default!;
|
|
||||||
|
|
||||||
private static readonly IReadOnlyList<string> Faces = new List<string>{
|
|
||||||
//WD-EDIT
|
|
||||||
" (`ω´)", " ;;w;;", " owo", " UwU", " >w<", " ^w^"
|
|
||||||
//WD-EDIT
|
|
||||||
}.AsReadOnly();
|
|
||||||
|
|
||||||
private static readonly IReadOnlyDictionary<string, string> SpecialWords = new Dictionary<string, string>()
|
private static readonly IReadOnlyDictionary<string, string> SpecialWords = new Dictionary<string, string>()
|
||||||
{
|
{
|
||||||
{ "you", "wu" },
|
{ "you", "wu" },
|
||||||
//WD-EDIT
|
{ "ты", "ти" } // WD
|
||||||
{ "ты", "ти" }
|
|
||||||
//WD-EDIT
|
|
||||||
};
|
};
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
@@ -33,8 +23,7 @@ namespace Content.Server.Speech.EntitySystems
|
|||||||
message = message.Replace(word, repl);
|
message = message.Replace(word, repl);
|
||||||
}
|
}
|
||||||
|
|
||||||
return message.Replace("!", _random.Pick(Faces))
|
return message.Replace("r", "w").Replace("R", "W")
|
||||||
.Replace("r", "w").Replace("R", "W")
|
|
||||||
.Replace("l", "w").Replace("L", "W")
|
.Replace("l", "w").Replace("L", "W")
|
||||||
|
|
||||||
//WD-EDIT
|
//WD-EDIT
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -536,14 +536,6 @@
|
|||||||
equipment:
|
equipment:
|
||||||
underwearb: ClothingUnderwearBottomPantiesCMO
|
underwearb: ClothingUnderwearBottomPantiesCMO
|
||||||
|
|
||||||
- type: itemLoadout # WD
|
|
||||||
id: CMOPanties
|
|
||||||
equipment: CMOPanties
|
|
||||||
- type: startingGear
|
|
||||||
id: CMOPanties
|
|
||||||
equipment:
|
|
||||||
underwearb: ClothingUnderwearBottomPantiesCMO
|
|
||||||
|
|
||||||
- type: itemLoadout # WD
|
- type: itemLoadout # WD
|
||||||
id: HOPBoxers
|
id: HOPBoxers
|
||||||
equipment: HOPBoxers
|
equipment: HOPBoxers
|
||||||
|
|||||||
Reference in New Issue
Block a user