mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 08:20:50 +00:00
feat(chat): add stop trading with all chat option (#3362)
## Description: Adds a quick chat option to ask a player to stop trading with all. I wrote it in double quote to inform this is an option as I think most of the players do not even know about this option. <img width="892" height="554" alt="image" src="https://github.com/user-attachments/assets/5a9330f4-e07c-4dd7-a1f2-a1e0e6508f90" /> ## 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: ``` .delovan ```
This commit is contained in:
@@ -237,6 +237,10 @@
|
||||
{
|
||||
"key": "stop_trading",
|
||||
"requiresPlayer": true
|
||||
},
|
||||
{
|
||||
"key": "stop_trading_all",
|
||||
"requiresPlayer": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -686,7 +686,8 @@
|
||||
"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]!"
|
||||
"stop_trading": "Stop trading with [P1]!",
|
||||
"stop_trading_all": "Please stop trading with all!"
|
||||
}
|
||||
},
|
||||
"build_menu": {
|
||||
|
||||
Reference in New Issue
Block a user