feat(state): view model action availability and story passage

This commit is contained in:
ginnoir
2026-06-11 18:53:50 -05:00
parent b88399ac14
commit f29b05bd70
3 changed files with 195 additions and 8 deletions
+2
View File
@@ -22,6 +22,8 @@ export const useGameStore = create<GameStoreState>((set) => ({
actionProgress: 0,
queuedActionIds: [],
queuedActionNames: [],
actions: [],
story: { currentProse: null, choices: [] },
log: [],
setView: (view) => set(view),
appendLog: (line) => set((state) => ({ log: [...state.log, line].slice(-MAX_LOG_LINES) })),