docs: document story engine and PR2 playable loop
CI / verify (push) Failing after 58s
CI / verify (pull_request) Failing after 41s

This commit is contained in:
ginnoir
2026-06-11 19:00:49 -05:00
parent 1461510a4b
commit c76265d648
14 changed files with 137 additions and 30 deletions
+1 -4
View File
@@ -71,10 +71,7 @@ export function canUnlockAction(state: GameState, content: Content, actionId: st
}
export function isActionAvailable(state: GameState, content: Content, actionId: string): boolean {
return (
canAffordAction(state, content, actionId) &&
canUnlockAction(state, content, actionId)
);
return canAffordAction(state, content, actionId) && canUnlockAction(state, content, actionId);
}
function deductCosts(state: GameState, content: Content, actionId: string): void {