import { getCaptureStatus, getOutlawById, redDialogue, type PlayerJourneyState, } from '@bigtech-sucks/core'; import { ArtSlotView } from '../components/ArtSlotView'; interface Props { state: PlayerJourneyState; onStep: (step: 'round_up' | 'validate' | 'cut') => void; onBack: () => void; } export function ShowdownScreen({ state, onStep, onBack }: Props) { const outlaw = state.activeOutlawId ? getOutlawById(state.activeOutlawId) : undefined; if (!outlaw) return null; const status = getCaptureStatus(state, outlaw.id); const isBoss = !!outlaw.boss; return (

{outlaw.name}

{outlaw.crime}

{isBoss &&

{redDialogue.mailRiverBoss[0]}

}
1. At Large
2. In Custody
3. Captured
{status === 'at_large' && (

{redDialogue.showdownRoundUp[0]}

)} {status === 'in_custody' && (

{redDialogue.showdownValidate[0]}

)} {status === 'captured' && (

Bounty collected: ${outlaw.bounty}/mo

)}
); }