Add playable hub travel with durable character transfers

This commit is contained in:
dingo
2026-09-09 12:17:10 -04:00
parent eee6f4c46f
commit f3d6f927e2
42 changed files with 1338 additions and 63 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
<p id="table-note" class="table-note"></p>
</div>
</main>
<dialog id="command-dialog" class="command-dialog"><form id="command-form"><header><h2 id="command-title">New world</h2><button type="button" id="close-command" class="icon-button" aria-label="Close dialog" title="Close"><i data-lucide="x"></i></button></header><p id="command-context" class="muted"></p><label id="world-input-label">World ID<input id="world-input" pattern="[a-z][a-z0-9-]{0,30}" maxlength="31" autocomplete="off"/></label><label id="value-input-label"><span id="value-caption">Seed</span><input id="value-input" autocomplete="off"/></label><label>Reason<textarea id="reason-input" required minlength="5" maxlength="240" rows="3"></textarea></label><label id="confirm-input-label" hidden><span id="confirm-caption">Confirm target</span><input id="confirm-input" autocomplete="off"/></label><p id="command-error" class="error" role="alert"></p><footer><button type="button" id="cancel-command" class="button secondary">Cancel</button><button type="submit" id="submit-command" class="button"><i data-lucide="check"></i><span>Queue action</span></button></footer></form></dialog>
<dialog id="command-dialog" class="command-dialog"><form id="command-form"><header><h2 id="command-title">New world</h2><button type="button" id="close-command" class="icon-button" aria-label="Close dialog" title="Close"><i data-lucide="x"></i></button></header><p id="command-context" class="muted"></p><label id="world-kind-label" hidden>Instance type<select id="world-kind"><option value="survival">Survival world</option><option value="hub">Permanent hub</option></select></label><label id="world-input-label">World ID<input id="world-input" pattern="[a-z][a-z0-9-]{0,30}" maxlength="31" autocomplete="off"/></label><label id="value-input-label"><span id="value-caption">Seed</span><input id="value-input" autocomplete="off"/></label><label>Reason<textarea id="reason-input" required minlength="5" maxlength="240" rows="3"></textarea></label><label id="confirm-input-label" hidden><span id="confirm-caption">Confirm target</span><input id="confirm-input" autocomplete="off"/></label><p id="command-error" class="error" role="alert"></p><footer><button type="button" id="cancel-command" class="button secondary">Cancel</button><button type="submit" id="submit-command" class="button"><i data-lucide="check"></i><span>Queue action</span></button></footer></form></dialog>
<dialog id="character-dialog" class="character-dialog"><header><div><p class="eyebrow">CHARACTER RECORD</p><h2 id="detail-name"></h2></div><button id="close-character" class="icon-button" aria-label="Close character" title="Close"><i data-lucide="x"></i></button></header><div id="character-detail"></div></dialog>
<script type="module" src="/src/control.ts"></script>
</body></html>