'use client'; import { splitLocation, territory } from '@/game/board'; import type { Action } from '@/game/engine'; import type { SandmasterVictorySpiceOffer } from '@/game/leader-skill-battle-board'; import { Button } from './ui/button'; type Props = { offer: SandmasterVictorySpiceOffer | null | undefined; busy: boolean; act: (action: Action) => void; }; export function SandmasterVictorySpice({ offer, busy, act }: Props) { if (!offer) return null; const name = territory(offer.territory).name; return (

Sandmaster · victory spice · {name}

Place the mandatory +3 board spice on one existing pile. This grants no direct faction income.

Provisional allocation policy: the winning owner selects an existing pile. This is a prototype choice, not a publisher sector-placement ruling.

{offer.piles.map((pile) => { const sector = splitLocation(pile.key).sector; return (

{name}, sector {sector}: {pile.before} → {pile.after} spice (+3).

); })}
); }