Files
Dune/components/spice-banker-income.tsx
T
Quintine 6785e622a7 Connect normal Spice Banker deferred bank income
Fresh classic banker-income profile preserves actual bank legs, physical once-phase use and original-faction atomic Mentat collection. Provisional earned custody stays explicit; public/old/combined modes unchanged. Final check: types/lint and 6487 offline cases; focused 140; guide 10; build; native18/four legal budgets; two original six-seat CLI/human390px rooms and82 saved seats25rooms. Final two reviews no findings. Local HTTP49/55 six known upstream503 failures, not green. No reset or deployed claim.
2026-10-02 06:45:21 +10:00

24 lines
1.1 KiB
TypeScript

import type { GameView } from '@/game/engine';
/** Only the projected physical front-shield piles are public, not their payment receipts. */
export function SpiceBankerIncome({ game }: { game: GameView }) {
const state = game.spiceBankerIncome;
if (!state || state.deferred.length === 0) return null;
const name = (owner: string) => game.players.find(player => player.id === owner)?.name ?? owner;
return (
<section className="notice block min-w-0 space-y-2 break-words" aria-label="Spice Banker front-shield income">
<h3>Spice Banker · deferred income</h3>
<ul className="m-0 list-none p-0">
{state.deferred.map(pile => (
<li key={pile.owner}>{name(pile.owner)}: {pile.amount} spice in front of the shield.</li>
))}
</ul>
<p className="fine m-0">
This earned spice is not spendable yet. The original gaining faction collects it automatically
at the current Mentat opening; it cannot fund a bid, shipment, revival or Battle Plan beforehand.
</p>
<a href="/rules?topic=spice-banker-income#spice-banker-income">Income timing and preview limits</a>
</section>
);
}