'use client'; import type { Action, GameView } from '@/game/engine'; import { nexusSuboidsAction } from '@/game/nexus-suboid-options'; import { Button } from './ui/button'; type Props = { game: GameView; act: (action: Action) => void; busy: boolean }; export function NexusSuboids({ game, act, busy }: Props) { const state = game.nexusSuboids; if (!state?.offer && !state?.active) return null; if (state.active) return (

Ixian Suboids fight at full strength without spice support for the rest of this turn. Cyborgs keep their usual strength and support rules.

); const offer = state.offer!; const action = nexusSuboidsAction(game, offer.event); return (

Ixian Nexus ยท Cunning

For the rest of this turn, your Suboids fight at full strength without spice support. Cyborgs keep their usual strength and support rules.

Use this before submitting your battle plan. This spends your Ixian Nexus card.

{offer.blocked &&

{offer.blocked}

}
); }