From 1c6154cb4cd06562e1f1753c171de16bef765556 Mon Sep 17 00:00:00 2001 From: Loymdayddaud <145969603+TheGiraffe3@users.noreply.github.com> Date: Wed, 27 Aug 2025 00:59:37 +0300 Subject: [PATCH] more chat messages (#1938) ## Description: Adds more chat messages in several categories, as requested on [Discord](https://discord.com/channels/1284581928254701718/1379092916827324426/1409862901816102964) Screen Shot 2025-08-26 at 5 42 28
PM Screen Shot 2025-08-26 at 5 42 53
PM Screen Shot 2025-08-26 at 5 42 41
PM ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: loymdayddaud --- resources/QuickChat.json | 64 ++++++++++++++++++++++++++++++++++++++-- resources/lang/en.json | 27 +++++++++++++---- 2 files changed, 83 insertions(+), 8 deletions(-) diff --git a/resources/QuickChat.json b/resources/QuickChat.json index 220da4459..fd06c2859 100644 --- a/resources/QuickChat.json +++ b/resources/QuickChat.json @@ -4,6 +4,10 @@ "key": "troops", "requiresPlayer": false }, + { + "key": "troops_frontlines", + "requiresPlayer": false + }, { "key": "gold", "requiresPlayer": false @@ -25,8 +29,8 @@ "requiresPlayer": true }, { - "key": "team_up", - "requiresPlayer": true + "key": "trade_partners", + "requiresPlayer": false } ], "attack": [ @@ -45,6 +49,10 @@ { "key": "finish", "requiresPlayer": true + }, + { + "key": "build_warships", + "requiresPlayer": false } ], "defend": [ @@ -52,6 +60,10 @@ "key": "defend", "requiresPlayer": true }, + { + "key": "defend_from", + "requiresPlayer": true + }, { "key": "dont_attack", "requiresPlayer": true @@ -59,6 +71,10 @@ { "key": "ally", "requiresPlayer": true + }, + { + "key": "build_posts", + "requiresPlayer": false } ], "greet": [ @@ -66,6 +82,10 @@ "key": "hello", "requiresPlayer": false }, + { + "key": "good_job", + "requiresPlayer": false + }, { "key": "good_luck", "requiresPlayer": false @@ -109,6 +129,18 @@ { "key": "trust_broken", "requiresPlayer": false + }, + { + "key": "ruining_games", + "requiresPlayer": false + }, + { + "key": "dont_do_that", + "requiresPlayer": false + }, + { + "key": "same_team", + "requiresPlayer": false } ], "misc": [ @@ -124,9 +156,21 @@ "key": "fun", "requiresPlayer": false }, + { + "key": "team_up", + "requiresPlayer": true + }, { "key": "pr", "requiresPlayer": false + }, + { + "key": "build_closer", + "requiresPlayer": false + }, + { + "key": "coastline", + "requiresPlayer": false } ], "warnings": [ @@ -162,6 +206,10 @@ "key": "betrayed", "requiresPlayer": true }, + { + "key": "betrayed_me", + "requiresPlayer": true + }, { "key": "getting_big", "requiresPlayer": true @@ -177,6 +225,18 @@ { "key": "mirv_ready", "requiresPlayer": true + }, + { + "key": "snowballing", + "requiresPlayer": true + }, + { + "key": "cheating", + "requiresPlayer": true + }, + { + "key": "stop_trading", + "requiresPlayer": true } ] } diff --git a/resources/lang/en.json b/resources/lang/en.json index c6d931b72..e73cce009 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -377,26 +377,31 @@ }, "help": { "troops": "Please give me troops!", + "troops_frontlines": "Send troops to the frontlines!", "gold": "Please give me gold!", "no_attack": "Please don't attack me!", "sorry_attack": "Sorry, I didn’t mean to attack.", "alliance": "Alliance?", "help_defend": "Help me defend against [P1]!", - "team_up": "Let’s team up against [P1]!" + "trade_partners": "Let's be trade partners!" }, "attack": { "attack": "Attack [P1]!", "mirv": "Launch a MIRV at [P1]!", "focus": "Focus fire on [P1]!", - "finish": "Let's finish off [P1]!" + "finish": "Let's finish off [P1]!", + "build_warships": "Build Warships!" }, "defend": { "defend": "Defend [P1]!", + "defend_from": "Defend from [P1]!", "dont_attack": "Don’t attack [P1]!", - "ally": "[P1] is my ally!" + "ally": "[P1] is my ally!", + "build_posts": "Build Defense Posts!" }, "greet": { "hello": "Hello!", + "good_job": "Good job!", "good_luck": "Good luck!", "have_fun": "Have fun!", "gg": "GG!", @@ -407,13 +412,19 @@ "thanks": "Thanks!", "oops": "Oops, wrong button!", "trust_me": "You can trust me. Promise!", - "trust_broken": "I trusted you..." + "trust_broken": "I trusted you...", + "ruining_games": "You're ruining both of our games.", + "dont_do_that": "Don't do that!", + "same_team": "I'm on your side!" }, "misc": { "go": "Let’s go!", "strategy": "Nice strategy!", "fun": "This game is fun!", - "pr": "When will my PR finally get merged...?" + "team_up": "Let’s team up against [P1]!", + "pr": "When will my PR finally get merged...?", + "build_closer": "Build closer to get trains!", + "coastline": "Please let me get a coastline." }, "warnings": { "strong": "[P1] is strong.", @@ -424,10 +435,14 @@ "has_allies": "[P1] has many allies.", "no_allies": "[P1] has no allies.", "betrayed": "[P1] betrayed their ally!", + "betrayed_me": "[P1] betrayed me!", "getting_big": "[P1] is growing too fast!", "danger_base": "[P1] is unprotected!", "saving_for_mirv": "[P1] is saving up to launch a MIRV.", - "mirv_ready": "[P1] has enough gold to launch a MIRV!" + "mirv_ready": "[P1] has enough gold to launch a MIRV!", + "snowballing": "[P1] is snowballing too fast!", + "cheating": "[P1] is cheating!", + "stop_trading": "Stop trading with [P1]!" } }, "build_menu": {