mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-19 02:04:39 +00:00
Implement Stop/Start trading with all (#2278)
fixes #2275 Added global Start/Stop trading; use your **player panel** to trigger it. <img width="370" height="540" alt="Screenshot 2025-10-23 184447" src="https://github.com/user-attachments/assets/c3b7967e-ffdd-4f37-ba67-b60a602278ce" /> - [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 regression is found: abodcraft1
This commit is contained in:
committed by
evanpelle
parent
6b696685b5
commit
0a2b6ed9a6
@@ -621,6 +621,8 @@ export interface Player {
|
||||
donateGold(recipient: Player, gold: Gold): boolean;
|
||||
canDeleteUnit(): boolean;
|
||||
recordDeleteUnit(): void;
|
||||
canEmbargoAll(): boolean;
|
||||
recordEmbargoAll(): void;
|
||||
|
||||
// Embargo
|
||||
hasEmbargoAgainst(other: Player): boolean;
|
||||
@@ -743,6 +745,7 @@ export interface PlayerActions {
|
||||
canAttack: boolean;
|
||||
buildableUnits: BuildableUnit[];
|
||||
canSendEmojiAllPlayers: boolean;
|
||||
canEmbargoAll?: boolean;
|
||||
interaction?: PlayerInteraction;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user