import { splitLocation } from '@/game/board'; import type { SandmasterDestinationCollection } from '@/game/sandmaster-movement'; export function SandmasterWormChoice({ quote, collect, onChange, onPileChange }: { quote: SandmasterDestinationCollection | null; collect: boolean; onChange: (collect: boolean) => void; onPileChange: (key: string) => void; }) { if (!quote) return null; return
{quote.blocked ?

{quote.blocked} You may still ride without collecting.

: <> {quote.piles.length > 1 && <>

Provisional multi-pile policy: you choose which sector supplies the one spice; this is not a publisher allocation ruling.

}

Sector {splitLocation(quote.key!).sector}: {quote.before} → {quote.before - 1} spice if collected.

Collect once for this ride, even when several forces or source sectors participate. The source and intervening territories earn nothing. This does not use your normal movement.

}
; }