'use client'; import type { Action, GameView } from '@/game/engine'; import { nexusCardReference } from '@/game/nexus-card-reference'; import { fremenBetrayalAction } from '@/game/nexus-fremen-betrayal-options'; import { Button } from './ui/button'; type Props = { game: GameView; act: (action: Action) => void; busy: boolean }; export function NexusFremenBetrayal({ game, act, busy }: Props) { const offer = game.nexusFremenBetrayal; if (!offer || game.nexusCards?.card !== 'fremen') return null; const action = fremenBetrayalAction(game); const fremen = game.players.find(player => player.id === offer.target); return (

Fremen Nexus · Betrayal

{nexusCardReference('fremen').betrayal}

{fremen &&

{offer.mode === 'worm' ? `Declare before the first spice blow, or respond at an actual before-ride opportunity: ${fremen.name} cannot take remaining ordinary or Cunning worm rides this turn. Worm destruction, survival, protection and Nexus still resolve.` : `This use suppresses ${fremen.name}’s native two-territory movement advantage for the rest of this turn. Independent ornithopters remain available.`}

} {offer.mode === 'worm' && game.discoveries &&

Provisional Great Maker interpretation: its reserve ride is also prevented; the original vote, worm effects and Nexus continue.

} {offer.blocked &&

{offer.blocked}

}
); }