- Inventory: items linked to PCs with name, qty, ENC, category; effective FP = STR+CON minus total ENC carried; CRUD API + inline UI on Characters tab - Adventure scene engine: new tab with procedural CYOA choices (Fight, Sneak, Talk, Investigate, Flee) resolved via skill checks; scenes generated from any rollable table with automatic L2 cascade; scene state persisted in DB - Fix total HP formula: was CON+SIZ, now correctly ceil((CON+SIZ)/2) per RQ3 - Fix hit location HPs: were computed from wrong total HP, now correct - Add fatigue points (STR+CON) to derived stats - Add all seven skill category modifiers computed from characteristics (primary/secondary/negative influences per rulebook), shown in generator UI - Add base skill computation (computeBaseSkills) for use in scene engine - Add RQ3 Players Book to docs/ as reference
59 lines
1.9 KiB
HTML
59 lines
1.9 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>RQ3 Story Tool</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<header class="app-header">
|
|
<h1>RQ3 Story Tool</h1>
|
|
<div class="header-actions">
|
|
<label class="button" for="import-file">Import</label>
|
|
<input type="file" id="import-file" accept="application/json" hidden>
|
|
<button id="export-all-btn" class="button">Export All</button>
|
|
<button id="export-log-btn" class="button">Export Log</button>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="layout">
|
|
<aside class="sidebar">
|
|
<nav class="view-tabs">
|
|
<button class="tab-btn" data-view="tables">Tables</button>
|
|
<button class="tab-btn" data-view="npcs">NPCs</button>
|
|
<button class="tab-btn" data-view="enemies">Enemies</button>
|
|
<button class="tab-btn" data-view="combat">Combat</button>
|
|
<button class="tab-btn" data-view="characters">Characters</button>
|
|
<button class="tab-btn" data-view="adventure">Adventure</button>
|
|
</nav>
|
|
<div id="sidebar-content"></div>
|
|
</aside>
|
|
|
|
<main id="main-panel"></main>
|
|
|
|
<aside class="log-panel">
|
|
<h2>Session Log</h2>
|
|
<input type="search" id="log-search" placeholder="Search log...">
|
|
<div class="note-entry">
|
|
<textarea id="note-input" placeholder="Add a note..."></textarea>
|
|
<button id="note-submit" class="button">Add Note</button>
|
|
</div>
|
|
<div id="log-entries"></div>
|
|
</aside>
|
|
</div>
|
|
|
|
<div id="export-reminder-modal" class="modal hidden">
|
|
<div class="modal-box">
|
|
<p>You have unsaved changes. Export before leaving?</p>
|
|
<button id="reminder-export" class="button">Export Now</button>
|
|
<button id="reminder-leave" class="button">Leave Anyway</button>
|
|
<button id="reminder-cancel" class="button">Cancel</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="vendor/marked.umd.js"></script>
|
|
<script src="app.js"></script>
|
|
</body>
|
|
</html>
|