Add enforceable current-turn travel deals
Verify and publish checkpoint container / container (push) Successful in 10m49s
Verify and publish checkpoint container / container (push) Successful in 10m49s
This commit is contained in:
1 parent
ac1f32c859
commit
82c639c977
13 files changed
+777
-28
No files matched your search
@@ -105,22 +105,28 @@ export function TravelPromises(props: TravelProps) {
|
||||
const game = props.game, own = game.travelPromises.filter(promise => promise.player === game.me);
|
||||
if (!own.length) return null;
|
||||
const live = own.some(promise => promise.turn === game.turn && !promise.fulfilled && !promise.released);
|
||||
return <section className="notice space-y-3" aria-label="Your Truthtrance shipment and movement promises" id="travel-promise-guidance">
|
||||
return <section className="notice space-y-3" aria-label={own.some(promise => promise.sourceDeal)
|
||||
? 'Your shipment and movement commitments' : 'Your Truthtrance shipment and movement promises'} id="travel-promise-guidance">
|
||||
<h3>Your shipment and movement promises</h3>
|
||||
<ul>{own.map(promise => <li key={promise.event}>
|
||||
Turn {promise.turn}: You answered {promise.answer ? 'Yes' : 'No'} to {truthQuestionText({ kind: 'travel', target: promise.player,
|
||||
Turn {promise.turn}: {promise.sourceDeal ? `Public deal: agreed ${promise.answer ? 'Yes' : 'No'} to` : `You answered ${promise.answer ? 'Yes' : 'No'} to`} {truthQuestionText({ kind: 'travel', target: promise.player,
|
||||
turn: promise.turn, mixed: promise.mixed }, id => id === CHEAP_HERO_TRAITOR ? 'Cheap Hero / Heroine'
|
||||
: game.allLeaders.find(leader => leader.id === id)?.name ?? id,
|
||||
id => game.combatLocations.find(location => location.id === id)?.name ?? id,
|
||||
id => game.players.find(player => player.id === id)?.name ?? id)}.
|
||||
{promise.released ? ' Released: this whole commitment is no longer possible.'
|
||||
: promise.fulfilled ? ' Fulfilled: this whole commitment is complete.' : ' This whole answer is binding until your Movement turn ends this round.'}
|
||||
{promise.released ? promise.sourceDeal
|
||||
? game.dealTravelStatus[promise.sourceDeal] === 'void'
|
||||
? ' Void: this agreement is no longer possible.' : ' Released: this whole commitment is no longer binding.'
|
||||
: ' Released: this whole commitment is no longer possible.'
|
||||
: promise.fulfilled ? ' Fulfilled: this whole commitment is complete.'
|
||||
: promise.sourceDeal ? ' This commitment is binding until your Movement turn ends this round.'
|
||||
: ' This whole answer is binding until your Movement turn ends this round.'}
|
||||
</li>)}</ul>
|
||||
<p>AND requires every condition; OR requires at least one. No negates the whole expression, not each condition separately.
|
||||
{own.some(promise => !promise.sourceDeal) && <p>AND requires every condition; OR requires at least one. No negates the whole expression, not each condition separately.
|
||||
Legal alternatives remain available; no fixed branch is selected for you.
|
||||
Current facts are evaluated at the answer. They create no promise to keep cards, spice or forces afterward.
|
||||
Only the aggregate answer is shared. Individual fact answers and any reduced future branch remain private.</p>
|
||||
<p className="fine">Shipment conditions concern one future original reserve shipment after the answer.
|
||||
Only the aggregate answer is shared. Individual fact answers and any reduced future branch remain private.</p>}
|
||||
<p className="fine">Shipment conditions concern one future original reserve shipment after the answer or deal acceptance.
|
||||
Ground-movement conditions count the maximum physical forces in one actual future move, never the sum of smaller moves.
|
||||
Earlier actions do not count. A shipment can prepare a move; each action counts only for its own conditions.
|
||||
Original shipment rights, movement opportunities, cards, preparation and costs still apply.
|
||||
|
||||
Reference in new issue
Block a user