Support Advanced expansion auction gifts
Verify and publish checkpoint container / container (push) Successful in 11m23s
Verify and publish checkpoint container / container (push) Successful in 11m23s
This commit is contained in:
1 parent
51c48e371b
commit
28700389dc
14 files changed
+840
-15
No files matched your search
@@ -22,6 +22,13 @@ export function EmperorAuctionGift({ game, act, busy }: {
|
||||
<p className="fine">{offer.source === 'richese'
|
||||
? 'The winning bid and its committed ally payment split remain unchanged. Continue settles the Richese sale with that payment after any gift response.'
|
||||
: 'The winning bid and its committed ally payment split remain unchanged. Your ally chooses how to pay after the gift’s Karama response.'}</p>
|
||||
{game.pledgePromiseGuide && <>
|
||||
<p className="fine">Set your promised ally funding before this purchase can close Bidding.</p>
|
||||
<button type="button" className="game-action" disabled={busy}
|
||||
onClick={() => { if (!busy && game.pledgePromiseGuide) act(game.pledgePromiseGuide.action); }}>
|
||||
Set required ally funding
|
||||
</button>
|
||||
</>}
|
||||
<label htmlFor={`${id}-amount`}>Spice to share</label>
|
||||
<input id={`${id}-amount`} type="number" inputMode="numeric" min={1} max={offer.maximum}
|
||||
step={1} value={raw} disabled={busy || offer.maximum < 1} onChange={event => setRaw(event.target.value)} />
|
||||
@@ -29,8 +36,8 @@ export function EmperorAuctionGift({ game, act, busy }: {
|
||||
onClick={() => { if (canShare) act({type:'emperorGift', amount}); }}>
|
||||
Share spice
|
||||
</button>
|
||||
<button type="button" className="game-action" disabled={busy}
|
||||
onClick={() => { if (!busy) act({type:'emperorAuctionGiftContinue', event:offer.event}); }}>
|
||||
<button type="button" className="game-action" disabled={busy || !!game.pledgePromiseGuide}
|
||||
onClick={() => { if (!busy && !game.pledgePromiseGuide) act({type:'emperorAuctionGiftContinue', event:offer.event}); }}>
|
||||
Continue to payment
|
||||
</button>
|
||||
</section>;
|
||||
|
||||
Reference in new issue
Block a user