{story.currentProse}
{hasChoices ? (
{story.choices.map((choice) => (
))}
) : (
)}
import { gameRuntime } from '../state/runtime'; import { useGameStore } from '../state/store'; /** Full-screen VN overlay with prose, choices, and desktop story log sidebar. */ export function StoryPanel() { const open = useGameStore((s) => s.storyPanelOpen); const story = useGameStore((s) => s.story); const storyLog = useGameStore((s) => s.storyLog); if (!open) return null; const hasChoices = story.choices.length > 0; return (
{story.currentProse}
{hasChoices ? (