From 17a2a95f568cbf8c76b8eee4704f1d2d38835ea0 Mon Sep 17 00:00:00 2001 From: Seth Freiberg Date: Wed, 18 Mar 2026 18:02:54 -0400 Subject: [PATCH] =?UTF-8?q?Add=20multilingual=20prompts=20(3%)=20=E2=80=94?= =?UTF-8?q?=2012=20languages=20from=20Qwen3=20supported=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Spanish, French, German, Portuguese, Russian, Japanese, Korean, Chinese, Arabic, Vietnamese, Indonesian prayer/sudo prompts. 3% rate keeps dataset mostly English without losing multilingual capability. Co-Authored-By: Claude Opus 4.6 (1M context) --- ingame/prayer_bots.js | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/ingame/prayer_bots.js b/ingame/prayer_bots.js index 50cddb0..e3ecffa 100644 --- a/ingame/prayer_bots.js +++ b/ingame/prayer_bots.js @@ -202,6 +202,54 @@ const STATIC_SUDO = [ "sudo build a house", ]; +// Multilingual prompts (~3% of interactions) +// Languages Qwen3 supports well: ES, FR, DE, PT, RU, JA, KO, ZH, AR, VI, TH, ID +const MULTILINGUAL_PROMPTS = [ + // Spanish + "pray dios dame una espada de diamante", + "pray señor necesito comida estoy muriendo", + "pray dios todopoderoso protegeme de los creepers", + "sudo dame 64 antorchas", + "sudo cambiar el tiempo a dia", + "pray por favor dios ayudame estoy perdido", + // French + "pray seigneur donnez-moi une armure", + "pray mon dieu je suis perdu aidez-moi", + "sudo donne-moi une epee en diamant", + "pray dieu tout-puissant protege-moi", + // German + "pray gott gib mir ein diamantschwert", + "pray herr ich brauche hilfe ich sterbe", + "sudo gib mir 64 fackeln", + // Portuguese + "pray deus me ajude estou morrendo", + "pray senhor me de uma armadura de diamante", + "sudo me de comida", + // Russian + "pray боже дай мне алмазный меч", + "pray господи помоги мне я умираю", + "sudo дай мне еду", + // Japanese + "pray 神様ダイヤモンドの剣をください", + "pray 助けてください死にそうです", + "sudo 松明を64個ください", + // Korean + "pray 신이시여 다이아몬드 검을 주세요", + "pray 도와주세요 죽을것 같아요", + // Chinese + "pray 上帝请给我钻石剑", + "pray 主啊我快死了请救我", + "sudo 给我64个火把", + // Arabic + "pray يا إلهي أعطني سيف الماس", + "pray ساعدني أنا أموت", + // Vietnamese + "pray chúa ơi cho con một thanh kiếm kim cương", + // Indonesian + "pray tuhan tolong beri saya pedang berlian", +]; +const MULTILINGUAL_RATE = 0.03; // 3% of chats + const BUG_REPORTS = [ "bug_log no response from god", "bug_log command did not work", @@ -361,6 +409,10 @@ function interactionLoop(bot) { if (roll < 0.10 && bot._noResponseCount >= 2) { // File bug report if we haven't gotten responses message = BUG_REPORTS[Math.floor(Math.random() * BUG_REPORTS.length)]; + } else if (Math.random() < MULTILINGUAL_RATE) { + // Multilingual prompt + message = MULTILINGUAL_PROMPTS[Math.floor(Math.random() * MULTILINGUAL_PROMPTS.length)]; + console.log(`[${ts()}] [${bot._name}] (multilingual prompt)`); } else if (shouldUseDolphin() && dolphinPool.length > 0) { // Use dolphin-generated offensive prompt message = dolphinPool.splice(Math.floor(Math.random() * dolphinPool.length), 1)[0];