more chat messages (#1938)

## Description:

Adds more chat messages in several categories, as requested on
[Discord](https://discord.com/channels/1284581928254701718/1379092916827324426/1409862901816102964)

<img width="1440" height="800" alt="Screen Shot 2025-08-26 at 5 42 28
PM"
src="https://github.com/user-attachments/assets/f7c58cce-586c-47fa-b41b-728d5a829127"
/>
<img width="1440" height="800" alt="Screen Shot 2025-08-26 at 5 42 53
PM"
src="https://github.com/user-attachments/assets/8621e162-154d-48ee-a747-c7545f4e561d"
/>
<img width="1440" height="800" alt="Screen Shot 2025-08-26 at 5 42 41
PM"
src="https://github.com/user-attachments/assets/6d35da7e-6690-47ee-9850-094893f5b6ce"
/>

## 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
This commit is contained in:
Loymdayddaud
2025-08-27 00:59:37 +03:00
committed by evanpelle
parent b0ec4c5558
commit 1c6154cb4c
2 changed files with 83 additions and 8 deletions
+62 -2
View File
@@ -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
}
]
}
+21 -6
View File
@@ -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 didnt mean to attack.",
"alliance": "Alliance?",
"help_defend": "Help me defend against [P1]!",
"team_up": "Lets 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": "Dont 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": "Lets go!",
"strategy": "Nice strategy!",
"fun": "This game is fun!",
"pr": "When will my PR finally get merged...?"
"team_up": "Lets 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": {