Skip to content

Commit

Permalink
important ohio accent fixes for admemes
Browse files Browse the repository at this point in the history
and some folder moving and namespace renaming
  • Loading branch information
TokenStyle committed Nov 28, 2024
1 parent 82fdd47 commit a2777db
Show file tree
Hide file tree
Showing 6 changed files with 486 additions and 131 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Content.Server.Speech.EntitySystems;
using Content.Server._CorvaxNext.Speech.EntitySystems;

namespace Content.Server.Speech.Components;
namespace Content.Server._CorvaxNext.Speech.Components;

[RegisterComponent]
[Access(typeof(OhioAccentSystem))]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using Content.Server._CorvaxNext.Speech.EntitySystems;

namespace Content.Server._CorvaxNext.Speech.Components;

[RegisterComponent]
[Access(typeof(OhioAccentSystem))]
public sealed partial class OhioBrainrotAccentComponent : Component
{ }
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
using System.Text.RegularExpressions;
using Content.Server.Speech.Components;
using Content.Server._CorvaxNext.Speech.Components;
using Content.Server.Speech;
using Content.Server.Speech.EntitySystems;
using Robust.Shared.Random;

namespace Content.Server.Speech.EntitySystems;
namespace Content.Server._CorvaxNext.Speech.EntitySystems;

public sealed class OhioAccentSystem : EntitySystem
{
Expand All @@ -13,13 +14,23 @@ public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<OhioAccentComponent, AccentGetEvent>(OnAccent);
SubscribeLocalEvent<OhioBrainrotAccentComponent, AccentGetEvent>(OnAccentBrainrot);
}

private void OnAccent(EntityUid uid, OhioAccentComponent component, AccentGetEvent args)
private void OnAccent(EntityUid uid, OhioAccentComponent component, ref AccentGetEvent args)
{
args.Message = Accentuate("ohio", "accent-ohio-prefix-", "accent-ohio-suffix-", args);
}

private void OnAccentBrainrot(EntityUid uid, OhioBrainrotAccentComponent component, ref AccentGetEvent args)
{
args.Message = Accentuate("ohioBrainrot", "accent-ohio-brainrot-prefix-", "accent-ohio-brainrot-suffix-", args);
}

private string Accentuate(string accentName, string prefix, string suffix, AccentGetEvent args) {
var message = args.Message;

message = _replacement.ApplyReplacements(message, "ohio");
message = _replacement.ApplyReplacements(message, accentName);

// Prefix
if (_random.Prob(0.15f))
Expand All @@ -28,7 +39,7 @@ private void OnAccent(EntityUid uid, OhioAccentComponent component, AccentGetEve

// Reverse sanitize capital
message = message[0].ToString().ToLower() + message.Remove(0, 1);
message = Loc.GetString($"accent-ohio-prefix-{pick}") + " " + message;
message = Loc.GetString(prefix + pick) + " " + message;
}

// Sanitize capital again, in case we substituted a word that should be capitalized
Expand All @@ -38,9 +49,9 @@ private void OnAccent(EntityUid uid, OhioAccentComponent component, AccentGetEve
if (_random.Prob(0.3f))
{
var pick = _random.Next(1, 13);
message += Loc.GetString($"accent-ohio-suffix-{pick}");
message += Loc.GetString(suffix + pick);
}

args.Message = message;
return message;
}
};
309 changes: 309 additions & 0 deletions Resources/Locale/ru-RU/_CorvaxNext/accent/ohio-brainrot.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,309 @@
# Ohio Brainrot SASSI
accent-ohio-brainrot-prefix-1 = Вперёд челы,
accent-ohio-brainrot-prefix-2 = Чат...
accent-ohio-brainrot-prefix-3 = Эпик вин,
accent-ohio-brainrot-prefix-4 = Литерали...
accent-ohio-brainrot-prefix-5 = БРО...
accent-ohio-brainrot-prefix-6 = Называйте меня риззлером потомушо,
accent-ohio-brainrot-prefix-7 = Это типа...
accent-ohio-brainrot-suffix-1 = . Как в Саратове.
accent-ohio-brainrot-suffix-2 = . Из Саратова...
accent-ohio-brainrot-suffix-3 = . Как Марсианин.
accent-ohio-brainrot-suffix-4 = . Как из Марса.
accent-ohio-brainrot-suffix-5 = . Для Ризза.
accent-ohio-brainrot-suffix-6 = . Погодите это реально?
accent-ohio-brainrot-suffix-7 = . Бро знал что он творит.
accent-ohio-brainrot-suffix-8 = . Такой молодца!
accent-ohio-brainrot-suffix-9 = . Эм... Чё за сигма?
accent-ohio-brainrot-suffix-10 = . У кого столько ризза?
accent-ohio-brainrot-suffix-11 = . Это такой конец.
accent-ohio-brainrot-suffix-12 = . Чозанафек!
accent-ohio-brainrot-suffix-13 = . Нужно бы сделать мьюинг.
accent-ohio-brainrot-words-1 = харизма
accent-ohio-brainrot-words-replace-1 = ризз
accent-ohio-brainrot-words-2 = крутой
accent-ohio-brainrot-words-replace-2 = сигма
accent-ohio-brainrot-words-3 = потрясающий
accent-ohio-brainrot-words-replace-3 = ризз
accent-ohio-brainrot-words-4 = бог
accent-ohio-brainrot-words-replace-4 = футбол
accent-ohio-brainrot-words-5 = атаковал
accent-ohio-brainrot-words-replace-5 = разоживил
accent-ohio-brainrot-words-6 = убил
accent-ohio-brainrot-words-replace-6 = разоживил
accent-ohio-brainrot-words-7 = убийство
accent-ohio-brainrot-words-replace-7 = разоживление
accent-ohio-brainrot-words-8 = мёртв
accent-ohio-brainrot-words-replace-8 = в Саратове
accent-ohio-brainrot-words-9 = техи
accent-ohio-brainrot-words-replace-9 = Закулисье
accent-ohio-brainrot-words-10 = технические
accent-ohio-brainrot-words-replace-10 = Закулисные
accent-ohio-brainrot-words-11 = туннели
accent-ohio-brainrot-words-replace-11 = Закулисье
accent-ohio-brainrot-words-12 = атакован
accent-ohio-brainrot-words-replace-12 = разживлён
accent-ohio-brainrot-words-13 = ядерный оперативник
accent-ohio-brainrot-words-replace-13 = сасси бака предатель из Амонг Ас
accent-ohio-brainrot-words-14 = синдикат
accent-ohio-brainrot-words-replace-14 = сасси бака предатель из Амонг Ас
accent-ohio-brainrot-words-15 = синди
accent-ohio-brainrot-words-replace-15 = сасси бака предатель из Амонг Ас
accent-ohio-brainrot-words-16 = предатель
accent-ohio-brainrot-words-replace-16 = сасси бака предатель из Амонг Ас
accent-ohio-brainrot-words-17 = вот
accent-ohio-brainrot-words-replace-17 = ну как там, ну вот
accent-ohio-brainrot-words-18 = вкусный
accent-ohio-brainrot-words-replace-18 = няма
accent-ohio-brainrot-words-19 = милый
accent-ohio-brainrot-words-replace-19 = НЯШНИ!!11! UwU OwO
accent-ohio-brainrot-words-20 = женщины
accent-ohio-brainrot-words-replace-20 = ЖЕНЩИНЫ
accent-ohio-brainrot-words-21 = девочки
accent-ohio-brainrot-words-replace-21 = ЖЕНЩИНЫ
accent-ohio-brainrot-words-22 = девочка
accent-ohio-brainrot-words-replace-22 = ЖЕНЩИНА
accent-ohio-brainrot-words-23 = woman
accent-ohio-brainrot-words-replace-23 = ЖЕНЩИНА
accent-ohio-brainrot-words-24 = мисс
accent-ohio-brainrot-words-replace-24 = ЖЕНЩИНА
accent-ohio-brainrot-words-25 = мис
accent-ohio-brainrot-words-replace-25 = ЖЕНЩИНА
accent-ohio-brainrot-words-26 = мисис
accent-ohio-brainrot-words-replace-26 = ЖЕНЩИНА
accent-ohio-brainrot-words-27 = мис.
accent-ohio-brainrot-words-replace-27 = ЖЕНЩИНА
accent-ohio-brainrot-words-28 = миссис
accent-ohio-brainrot-words-replace-28 = ЖЕНЩИНА
accent-ohio-brainrot-words-29 = сучка
accent-ohio-brainrot-words-replace-29 = ЖЕНЩИНА
accent-ohio-brainrot-words-30 = реально
accent-ohio-brainrot-words-replace-30 = фор рил
accent-ohio-brainrot-words-31 = действительно
accent-ohio-brainrot-words-replace-31 = мелким шрифтом
accent-ohio-brainrot-words-32 = терпим
accent-ohio-brainrot-words-replace-32 = терпим карлики
accent-ohio-brainrot-words-33 = эпик
accent-ohio-brainrot-words-replace-33 = поггерс
accent-ohio-brainrot-words-34 = язык
accent-ohio-brainrot-words-replace-34 = лигма
accent-ohio-brainrot-words-35 = игра
accent-ohio-brainrot-words-replace-35 = фуфлоблоки
accent-ohio-brainrot-words-36 = не
accent-ohio-brainrot-words-replace-36 = нах
accent-ohio-brainrot-words-37 = странный
accent-ohio-brainrot-words-replace-37 = сасси
accent-ohio-brainrot-words-38 = брат
accent-ohio-brainrot-words-replace-38 = бро
accent-ohio-brainrot-words-39 = человек
accent-ohio-brainrot-words-replace-39 = бро
accent-ohio-brainrot-words-40 = марихуана
accent-ohio-brainrot-words-replace-40 = 420 листок
accent-ohio-brainrot-words-41 = травка
accent-ohio-brainrot-words-replace-41 = 420 листок
accent-ohio-brainrot-words-42 = лучший
accent-ohio-brainrot-words-replace-42 = МОЛОДЕЦ!!
accent-ohio-brainrot-words-43 = проиграли
accent-ohio-brainrot-words-replace-43 = залузили
accent-ohio-brainrot-words-44 = поражение
accent-ohio-brainrot-words-replace-44 = луз
accent-ohio-brainrot-words-45 = проиграл
accent-ohio-brainrot-words-replace-45 = залузил
accent-ohio-brainrot-words-46 = глупый
accent-ohio-brainrot-words-replace-46 = гуффи
accent-ohio-brainrot-words-47 = клоун
accent-ohio-brainrot-words-replace-47 = гуффи бро
accent-ohio-brainrot-words-48 = смешной
accent-ohio-brainrot-words-replace-48 = гуффи
accent-ohio-brainrot-words-49 = шутка
accent-ohio-brainrot-words-replace-49 = мем
accent-ohio-brainrot-words-50 = идиот
accent-ohio-brainrot-words-replace-50 = бака
accent-ohio-brainrot-words-51 = урод
accent-ohio-brainrot-words-replace-51 = нет ризза
accent-ohio-brainrot-words-52 = засранец
accent-ohio-brainrot-words-replace-52 = задрот
accent-ohio-brainrot-words-53 = умн
accent-ohio-brainrot-words-replace-53 = задрот
accent-ohio-brainrot-words-54 = учёный
accent-ohio-brainrot-words-replace-54 = учёный-капчёный
accent-ohio-brainrot-words-55 = ученый
accent-ohio-brainrot-words-replace-55 = ученый-капчёный
accent-ohio-brainrot-words-56 = история
accent-ohio-brainrot-words-replace-56 = лор
accent-ohio-brainrot-words-57 = лузер
accent-ohio-brainrot-words-replace-57 = L и минус реп, лох
accent-ohio-brainrot-words-58 = хорошо
accent-ohio-brainrot-words-replace-58 = риззово
accent-ohio-brainrot-words-59 = кредитов
accent-ohio-brainrot-words-replace-59 = риззбаксов
accent-ohio-brainrot-words-60 = долларов
accent-ohio-brainrot-words-replace-60 = риззбаксов
accent-ohio-brainrot-words-61 = доллары
accent-ohio-brainrot-words-replace-61 = риззбаксы
accent-ohio-brainrot-words-62 = кредиты
accent-ohio-brainrot-words-replace-62 = риззбаксы
accent-ohio-brainrot-words-63 = деньги
accent-ohio-brainrot-words-replace-63 = риззбаксы
accent-ohio-brainrot-words-64 = убью тебя
accent-ohio-brainrot-words-replace-64 = отправлю тебя в Бразилию
accent-ohio-brainrot-words-65 = хуй
accent-ohio-brainrot-words-replace-65 = ссисочка
accent-ohio-brainrot-words-66 = хот дог
accent-ohio-brainrot-words-replace-66 = ссисочка
accent-ohio-brainrot-words-67 = попа
accent-ohio-brainrot-words-replace-67 = эсс
accent-ohio-brainrot-words-68 = попы
accent-ohio-brainrot-words-replace-68 = эссы
accent-ohio-brainrot-words-69 = жопа
accent-ohio-brainrot-words-replace-69 = эсс
accent-ohio-brainrot-words-70 = убейся
accent-ohio-brainrot-words-replace-70 = отправь себя в Бразилию тупой типикал Саратов житель
accent-ohio-brainrot-words-71 = фелинид
accent-ohio-brainrot-words-replace-71 = жируха
accent-ohio-brainrot-words-72 = кот
accent-ohio-brainrot-words-replace-72 = жируха
accent-ohio-brainrot-words-73 = котёнок
accent-ohio-brainrot-words-replace-73 = жируха
accent-ohio-brainrot-words-74 = иан
accent-ohio-brainrot-words-replace-74 = жируха
accent-ohio-brainrot-words-75 = собака
accent-ohio-brainrot-words-replace-75 = жируха
accent-ohio-brainrot-words-76 = цербер
accent-ohio-brainrot-words-replace-76 = жируха
accent-ohio-brainrot-words-77 = щенок
accent-ohio-brainrot-words-replace-77 = жируха
accent-ohio-brainrot-words-78 = песик
accent-ohio-brainrot-words-replace-78 = жируха
accent-ohio-brainrot-words-79 = tesla
accent-ohio-brainrot-words-replace-79 = колючий ризз-шар
accent-ohio-brainrot-words-80 = сингулярность
accent-ohio-brainrot-words-replace-80 = ссаси дырка
accent-ohio-brainrot-words-81 = singu
accent-ohio-brainrot-words-replace-81 = ссаси дырка
accent-ohio-brainrot-words-82 = singulo
accent-ohio-brainrot-words-replace-82 = ссаси дырка
accent-ohio-brainrot-words-83 = тесла убежала
accent-ohio-brainrot-words-replace-83 = КОЛЮЧИЙ РИЗЗ-ШАР СБЕЖАЛО БЕЗ РОФЛОВ
accent-ohio-brainrot-words-84 = тесла сбежала
accent-ohio-brainrot-words-replace-84 = КОЛЮЧИЙ РИЗЗ-ШАР СБЕЖАЛО БЕЗ РОФЛОВ
accent-ohio-brainrot-words-85 = взлом
accent-ohio-brainrot-words-replace-85 = взлом типо видеогигра
accent-ohio-brainrot-words-86 = робаст
accent-ohio-brainrot-words-replace-86 = сигма-энергия
accent-ohio-brainrot-words-87 = смерть
accent-ohio-brainrot-words-replace-87 = разживление
accent-ohio-brainrot-words-88 = умер
accent-ohio-brainrot-words-replace-88 = разживился
accent-ohio-brainrot-words-89 = чёрт
accent-ohio-brainrot-words-replace-89 = чьортбля
accent-ohio-brainrot-words-90 = черт
accent-ohio-brainrot-words-replace-90 = чьортбля
accent-ohio-brainrot-words-91 = пиздец
accent-ohio-brainrot-words-replace-91 = овер
accent-ohio-brainrot-words-92 = писец
accent-ohio-brainrot-words-replace-92 = овер
accent-ohio-brainrot-words-93 = блять
accent-ohio-brainrot-words-replace-93 = скибиди
accent-ohio-brainrot-words-94 = сука
accent-ohio-brainrot-words-replace-94 = скибиди
accent-ohio-brainrot-words-95 = приход
accent-ohio-brainrot-words-replace-95 = тверк
accent-ohio-brainrot-words-96 = я в приходе
accent-ohio-brainrot-words-replace-96 = я тверкаю
accent-ohio-brainrot-words-97 = суперматерия
accent-ohio-brainrot-words-replace-97 = кристалл-жратель
accent-ohio-brainrot-words-98 = ерпшим
accent-ohio-brainrot-words-replace-98 = ужастим
accent-ohio-brainrot-words-99 = ерп
accent-ohio-brainrot-words-replace-99 = ужас
accent-ohio-brainrot-words-100 = см
accent-ohio-brainrot-words-replace-100 = кристалл-жратель
accent-ohio-brainrot-words-101 = генокрад
accent-ohio-brainrot-words-replace-101 = мутант из саратова
accent-ohio-brainrot-words-102 = культист
accent-ohio-brainrot-words-replace-102 = чел из ВК
accent-ohio-brainrot-words-103 = культисты
accent-ohio-brainrot-words-replace-103 = сообщество ВК
accent-ohio-brainrot-words-104 = блоб
accent-ohio-brainrot-words-replace-104 = кусок Реддита
accent-ohio-brainrot-words-105 = новости
accent-ohio-brainrot-words-replace-105 = фейк новости
accent-ohio-brainrot-words-106 = взять
accent-ohio-brainrot-words-replace-106 = фанум такс
accent-ohio-brainrot-words-107 = крутой чел
accent-ohio-brainrot-words-replace-107 = реальный сигма альфа чувак
accent-ohio-brainrot-words-108 = наелся
accent-ohio-brainrot-words-replace-108 = нафанумтаксился
accent-ohio-brainrot-words-109 = спортсмен
accent-ohio-brainrot-words-replace-109 = мелстрой
accent-ohio-brainrot-words-110 = мет
accent-ohio-brainrot-words-replace-110 = спиды
accent-ohio-brainrot-words-111 = химия
accent-ohio-brainrot-words-replace-111 = волтер вайт
accent-ohio-brainrot-words-112 = химка
accent-ohio-brainrot-words-replace-112 = волтер вайт
accent-ohio-brainrot-words-113 = новости
accent-ohio-brainrot-words-replace-113 = фейк новости
accent-ohio-brainrot-words-114 = важно
accent-ohio-brainrot-words-replace-114 = важно как делиться фанум таксом
accent-ohio-brainrot-words-115 = буквально
accent-ohio-brainrot-words-replace-115 = литерали
accent-ohio-brainrot-words-116 = лучший друг
accent-ohio-brainrot-words-replace-116 = браточек
accent-ohio-brainrot-words-117 = увидел
accent-ohio-brainrot-words-replace-117 = увидел в 4к
accent-ohio-brainrot-words-118 = заметил
accent-ohio-brainrot-words-replace-118 = заметил в 4к
accent-ohio-brainrot-words-119 = палец
accent-ohio-brainrot-words-replace-119 = dogs
accent-ohio-brainrot-words-120 = босс
accent-ohio-brainrot-words-replace-120 = томбой
accent-ohio-brainrot-words-121 = переделай
accent-ohio-brainrot-words-replace-121 = фикси
accent-ohio-brainrot-words-122 = исправляй
accent-ohio-brainrot-words-replace-122 = фикси
accent-ohio-brainrot-words-123 = чини
accent-ohio-brainrot-words-replace-123 = фикси
accent-ohio-brainrot-words-124 = величайший
accent-ohio-brainrot-words-replace-124 = наиглубочайший
accent-ohio-brainrot-words-125 = мерзко
accent-ohio-brainrot-words-replace-125 = ваще фуу
accent-ohio-brainrot-words-126 = пун пун
accent-ohio-brainrot-words-replace-126 = ай-пад зависимая обезьяна
accent-ohio-brainrot-words-127 = служба безопасности
accent-ohio-brainrot-words-replace-127 = департамент яжемамок
accent-ohio-brainrot-words-128 = офицер
accent-ohio-brainrot-words-replace-128 = свинтус
accent-ohio-brainrot-words-129 = гсб
accent-ohio-brainrot-words-replace-129 = я не мама
accent-ohio-brainrot-words-130 = юмор
accent-ohio-brainrot-words-replace-130 = гнег
accent-ohio-brainrot-words-131 = кинь
accent-ohio-brainrot-words-replace-131 = заскамь
accent-ohio-brainrot-words-132 = оригинальный
accent-ohio-brainrot-words-replace-132 = переиграл
accent-ohio-brainrot-words-133 = отсылка
accent-ohio-brainrot-words-replace-133 = пасхалко
accent-ohio-brainrot-words-134 = мужик
accent-ohio-brainrot-words-replace-134 = МУЖЛАН
accent-ohio-brainrot-words-135 = переделать
accent-ohio-brainrot-words-replace-135 = пофиксить
accent-ohio-brainrot-words-136 = исправить
accent-ohio-brainrot-words-replace-136 = пофиксить
accent-ohio-brainrot-words-137 = починить
accent-ohio-brainrot-words-replace-137 = пофиксить
accent-ohio-brainrot-words-138 = обиделся
accent-ohio-brainrot-words-replace-138 = плаки плаки
accent-ohio-brainrot-words-139 = грустно
accent-ohio-brainrot-words-replace-139 = плаки плаки
accent-ohio-brainrot-words-140 = я грущю
accent-ohio-brainrot-words-replace-140 = у меня плаки плаки
accent-ohio-brainrot-words-141 = не грусти
accent-ohio-brainrot-words-replace-141 = плаки плаки?
accent-ohio-brainrot-words-142 = всё нормально
accent-ohio-brainrot-words-replace-142 = нормалдаки
accent-ohio-brainrot-words-143 = отлично
accent-ohio-brainrot-words-replace-143 = нормалдаки
accent-ohio-brainrot-words-144 = хорошо
accent-ohio-brainrot-words-replace-144 = нормалдаки
Loading

0 comments on commit a2777db

Please sign in to comment.