Add opt-in CHOAM market skip for the current turn
Verify and publish checkpoint container / container (push) Successful in 10m42s
Verify and publish checkpoint container / container (push) Successful in 10m42s
This commit is contained in:
1 parent
685bd8bdfc
commit
825f903cce
12 files changed
+536
-2
No files matched your search
@@ -129,6 +129,26 @@ export function ChoamMarket({
|
||||
>
|
||||
Finish this phase
|
||||
</Button>
|
||||
{g.choamMarketSkipAvailable && g.choamMarket?.owner === g.me && (
|
||||
<div className="notice">
|
||||
<p>
|
||||
Skip your remaining markets this turn, including other sales and
|
||||
trades and opportunities to receive gifts. You can cancel this
|
||||
choice later; after canceling, you can enable it again only from a
|
||||
future market.
|
||||
</p>
|
||||
<Button
|
||||
className="game-action"
|
||||
variant="outline"
|
||||
disabled={busy}
|
||||
onClick={() => {
|
||||
if (!busy) act({ type: 'decision', done: true, skipMarketsThisTurn: true });
|
||||
}}
|
||||
>
|
||||
Finish and skip remaining markets this turn
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user