| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | |
| 4 | <head> |
| 5 | <meta charset="utf-8"> |
| 6 | <title>Questward</title> |
| 7 | <link rel="stylesheet" href="/ui/play.css"> |
| 8 | </head> |
| 9 | |
| 10 | <body> |
| 11 | <div id="hud" hidden> |
| 12 | <span id="you"></span> |
| 13 | <span>Walk/run: <strong id="gait">walk</strong> (press R)</span> |
| 14 | <span>Zoom: <strong id="zoom">2.00×</strong> (scroll)</span> |
| 15 | <button id="friends-toggle" type="button">Friends</button> |
| 16 | <button id="quests-toggle" type="button">Quests</button> |
| 17 | <button id="skills-toggle" type="button">Skills</button> |
| 18 | <button id="spells-toggle" type="button">Spells</button> |
| 19 | <button id="bag-toggle" type="button">Bag</button> |
| 20 | <button id="leave" type="button">Leave world</button> |
| 21 | </div> |
| 22 | <button id="settings-toggle" type="button" hidden title="Settings" aria-label="Settings">⚙</button> |
| 23 | <div id="xp-gain-hud" hidden aria-live="polite"></div> |
| 24 | <aside id="settings-panel" hidden> |
| 25 | <header> |
| 26 | <h2>Settings</h2> |
| 27 | <button id="settings-close" type="button">Close</button> |
| 28 | </header> |
| 29 | <section class="settings-group"> |
| 30 | <h3>Viewing distance</h3> |
| 31 | <div class="settings-options"> |
| 32 | <button type="button" data-graphics-key="viewDistance" data-graphics-value="long">Long</button> |
| 33 | <button type="button" data-graphics-key="viewDistance" data-graphics-value="short">Short</button> |
| 34 | </div> |
| 35 | </section> |
| 36 | <section class="settings-group"> |
| 37 | <h3>Lighting</h3> |
| 38 | <div class="settings-options"> |
| 39 | <button type="button" data-graphics-key="lighting" data-graphics-value="soft">Soft</button> |
| 40 | <button type="button" data-graphics-key="lighting" data-graphics-value="simple">Simple</button> |
| 41 | </div> |
| 42 | </section> |
| 43 | <section class="settings-group"> |
| 44 | <h3>Bloom</h3> |
| 45 | <div class="settings-options"> |
| 46 | <button type="button" data-graphics-key="bloom" data-graphics-value="on">On</button> |
| 47 | <button type="button" data-graphics-key="bloom" data-graphics-value="off">Off</button> |
| 48 | </div> |
| 49 | </section> |
| 50 | <section class="settings-group"> |
| 51 | <h3>Soft terrain</h3> |
| 52 | <div class="settings-options"> |
| 53 | <button type="button" data-graphics-key="softTerrain" data-graphics-value="on">On</button> |
| 54 | <button type="button" data-graphics-key="softTerrain" data-graphics-value="off">Off</button> |
| 55 | </div> |
| 56 | </section> |
| 57 | <section class="settings-group"> |
| 58 | <h3>Autorun</h3> |
| 59 | <div class="settings-options"> |
| 60 | <button type="button" data-graphics-key="autorun" data-graphics-value="on">On</button> |
| 61 | <button type="button" data-graphics-key="autorun" data-graphics-value="off">Off</button> |
| 62 | </div> |
| 63 | </section> |
| 64 | </aside> |
| 65 | <div id="toast-stack" aria-live="polite"></div> |
| 66 | <div id="world-tooltip" hidden></div> |
| 67 | |
| 68 | <div id="quests-list-backdrop" class="modal-backdrop" hidden></div> |
| 69 | <div id="quests-list-panel" hidden> |
| 70 | <header> |
| 71 | <h2>Quests</h2> |
| 72 | <button id="quests-list-close" type="button">Close</button> |
| 73 | </header> |
| 74 | <div id="quests-list-body"></div> |
| 75 | </div> |
| 76 | |
| 77 | <div id="quests-detail-backdrop" class="modal-backdrop" hidden></div> |
| 78 | <div id="quests-detail-panel" hidden> |
| 79 | <header> |
| 80 | <h2 id="quests-detail-title">Quest</h2> |
| 81 | <div class="quests-detail-actions"> |
| 82 | <button id="quests-detail-back" type="button">Back</button> |
| 83 | <button id="quests-detail-close" type="button">Close</button> |
| 84 | </div> |
| 85 | </header> |
| 86 | <div class="quests-detail-layout"> |
| 87 | <section> |
| 88 | <h3>Journal</h3> |
| 89 | <div id="quests-detail-journal"></div> |
| 90 | </section> |
| 91 | <section> |
| 92 | <h3>Current</h3> |
| 93 | <div id="quests-detail-step"></div> |
| 94 | </section> |
| 95 | </div> |
| 96 | </div> |
| 97 | |
| 98 | <div id="dialogue-panel" hidden> |
| 99 | <header> |
| 100 | <h2 id="dialogue-title"></h2> |
| 101 | <button id="dialogue-close" type="button">Close</button> |
| 102 | </header> |
| 103 | <div id="dialogue-lines"></div> |
| 104 | <div id="dialogue-triggers" class="dialogue-triggers"></div> |
| 105 | </div> |
| 106 | |
| 107 | <aside id="bag-panel" hidden> |
| 108 | <div class="bag-header"> |
| 109 | <h2>Bag</h2> |
| 110 | <p id="bag-max-hit" class="bag-max-hit hint" hidden></p> |
| 111 | </div> |
| 112 | <p id="bag-coins" hidden>0 coins</p> |
| 113 | <div id="equip-grid" class="item-grid equip"></div> |
| 114 | <div id="bag-grid" class="item-grid"></div> |
| 115 | <p id="bag-hint" class="hint">Left-click to select. Drag between slots to rearrange. Right-click for other |
| 116 | options.</p> |
| 117 | </aside> |
| 118 | <aside id="bank-panel" hidden> |
| 119 | <header> |
| 120 | <h2>Bank</h2> |
| 121 | <button id="bank-close" type="button">Close</button> |
| 122 | </header> |
| 123 | <p id="vault-coins" hidden></p> |
| 124 | <div class="bank-tabs"> |
| 125 | <button id="bank-tab-available" type="button" class="bank-tab active">Available</button> |
| 126 | <button id="bank-tab-reserved" type="button" class="bank-tab">Reserved</button> |
| 127 | <button id="bank-tab-inherit" type="button" class="bank-tab">Inheritance</button> |
| 128 | </div> |
| 129 | <div id="bank-available-pane"> |
| 130 | <div id="vault-grid" class="item-grid"></div> |
| 131 | <p class="hint">Click an item to move it to your bag. Right-click for partial transfers.</p> |
| 132 | </div> |
| 133 | <div id="bank-reserved-pane" hidden> |
| 134 | <div id="vault-reserved-grid" class="item-grid"></div> |
| 135 | <p class="hint">Goods reserved by outstanding cheques. Redeem a cheque at the bank to claim them.</p> |
| 136 | </div> |
| 137 | <div id="bank-inherit-pane" hidden> |
| 138 | <p id="inherit-coins" hidden></p> |
| 139 | <div id="inherit-grid" class="item-grid"></div> |
| 140 | <button id="bank-claim" type="button">Claim inheritance into vault</button> |
| 141 | </div> |
| 142 | </aside> |
| 143 | <aside id="friends-panel" hidden> |
| 144 | <h2>Friends</h2> |
| 145 | <div id="friends-list"></div> |
| 146 | <h3>Incoming</h3> |
| 147 | <div id="incoming-list"></div> |
| 148 | <h3>Outgoing</h3> |
| 149 | <div id="outgoing-list"></div> |
| 150 | <p class="hint">Right-click a bag item and choose Send to deliver by pigeon to the bank or a player.</p> |
| 151 | </aside> |
| 152 | <aside id="skills-panel" hidden> |
| 153 | <h2>Skills</h2> |
| 154 | <div id="skills-combat-level" class="skills-combat-level" hidden></div> |
| 155 | <div id="skills-list" class="skills-grid"></div> |
| 156 | </aside> |
| 157 | <aside id="spells-panel" hidden> |
| 158 | <h2>Spells</h2> |
| 159 | <label class="spell-autocast-row"> |
| 160 | <input id="spell-autocast-toggle" type="checkbox"> |
| 161 | Auto-cast (repeat on target) |
| 162 | </label> |
| 163 | <div id="spells-list" class="spells-grid"></div> |
| 164 | </aside> |
| 165 | <div id="spell-favorites-bar" hidden></div> |
| 166 | |
| 167 | <div id="send-backdrop" class="modal-backdrop" hidden></div> |
| 168 | <aside id="send-panel" hidden> |
| 169 | <header> |
| 170 | <h2>Send by pigeon</h2> |
| 171 | <button id="send-close" type="button">Close</button> |
| 172 | </header> |
| 173 | <div id="send-item" class="send-item"> |
| 174 | <img id="send-item-img" alt=""> |
| 175 | <strong id="send-item-name"></strong> |
| 176 | </div> |
| 177 | <label class="send-row">Quantity |
| 178 | <input id="send-qty" type="number" min="1" step="1" value="1"> |
| 179 | </label> |
| 180 | <p id="send-target-label" class="hint">No target selected.</p> |
| 181 | <button id="send-pick-target" type="button">Select target</button> |
| 182 | <button id="send-confirm" type="button" disabled>Send</button> |
| 183 | <p id="send-status" class="hint"></p> |
| 184 | </aside> |
| 185 | |
| 186 | <aside id="send-target-panel" hidden> |
| 187 | <header> |
| 188 | <h2>Select target</h2> |
| 189 | <button id="send-target-close" type="button">Back</button> |
| 190 | </header> |
| 191 | <div id="send-target-list"></div> |
| 192 | <div class="send-search"> |
| 193 | <input id="send-search-first" type="text" placeholder="First name" autocomplete="off"> |
| 194 | <input id="send-search-last" type="text" placeholder="Last name" autocomplete="off"> |
| 195 | <button id="send-search" type="button">Search</button> |
| 196 | </div> |
| 197 | <div id="send-search-result"></div> |
| 198 | </aside> |
| 199 | |
| 200 | <div id="transfer-backdrop" class="modal-backdrop" hidden></div> |
| 201 | <aside id="transfer-panel" hidden> |
| 202 | <header> |
| 203 | <h2>Transfer</h2> |
| 204 | <button id="transfer-close" type="button">Close</button> |
| 205 | </header> |
| 206 | <p id="transfer-item-name"></p> |
| 207 | <label class="send-row">Quantity |
| 208 | <input id="transfer-qty" type="number" min="1" step="1" value="1"> |
| 209 | </label> |
| 210 | <button id="transfer-confirm" type="button">Transfer</button> |
| 211 | </aside> |
| 212 | |
| 213 | <div id="write-cheque-backdrop" class="modal-backdrop" hidden></div> |
| 214 | <aside id="write-cheque-panel" hidden> |
| 215 | <header> |
| 216 | <h2>Write cheque</h2> |
| 217 | <button id="write-cheque-close" type="button">Close</button> |
| 218 | </header> |
| 219 | <p id="write-cheque-hint" class="hint">Choose goods from your vault to reserve on this cheque.</p> |
| 220 | <div id="write-cheque-vault" class="item-grid"></div> |
| 221 | <p id="write-cheque-item"></p> |
| 222 | <label class="send-row">Quantity |
| 223 | <input id="write-cheque-qty" type="number" min="1" step="1" value="1"> |
| 224 | </label> |
| 225 | <button id="write-cheque-confirm" type="button" disabled>Write</button> |
| 226 | <p id="write-cheque-status" class="hint"></p> |
| 227 | </aside> |
| 228 | |
| 229 | <div id="letter-backdrop" class="modal-backdrop" hidden></div> |
| 230 | <aside id="letter-panel" hidden> |
| 231 | <header> |
| 232 | <h2 id="letter-title">Letter</h2> |
| 233 | <button id="letter-close" type="button">Close</button> |
| 234 | </header> |
| 235 | <div id="letter-paper" class="letter-paper"> |
| 236 | <textarea id="letter-body" maxlength="2000" spellcheck="true" rows="1"></textarea> |
| 237 | <pre id="letter-signature" class="letter-signature"></pre> |
| 238 | </div> |
| 239 | <div class="bag-actions"> |
| 240 | <button id="letter-save" type="button">Save</button> |
| 241 | </div> |
| 242 | <p id="letter-status" class="hint"></p> |
| 243 | </aside> |
| 244 | |
| 245 | <div id="craft-backdrop" class="modal-backdrop" hidden></div> |
| 246 | <aside id="craft-panel" hidden> |
| 247 | <header> |
| 248 | <h2 id="craft-station-name">Crafting</h2> |
| 249 | <button id="craft-close" type="button">Close</button> |
| 250 | </header> |
| 251 | <div class="craft-layout"> |
| 252 | <div class="craft-recipes"> |
| 253 | <div id="craft-recipe-grid" class="craft-recipe-grid"></div> |
| 254 | </div> |
| 255 | <div class="craft-detail"> |
| 256 | <p id="craft-detail-empty" class="hint">Select a recipe.</p> |
| 257 | <div id="craft-detail-body" hidden> |
| 258 | <div id="craft-material-controls" class="craft-material-controls" hidden> |
| 259 | <label class="craft-material-field"> |
| 260 | <span>Material</span> |
| 261 | <select id="craft-material-tier"></select> |
| 262 | </label> |
| 263 | </div> |
| 264 | <div id="craft-dye-controls" class="craft-tailor-dye" hidden> |
| 265 | <span>Dye (optional)</span> |
| 266 | <button id="craft-dye-pick" type="button">Choose dye…</button> |
| 267 | <button id="craft-dye-clear" type="button" hidden>Clear dye</button> |
| 268 | <img id="craft-dye-preview" alt="" hidden> |
| 269 | </div> |
| 270 | <div class="craft-output"> |
| 271 | <img id="craft-output-img" alt=""> |
| 272 | <h3 id="craft-output-name"></h3> |
| 273 | </div> |
| 274 | <ul id="craft-inputs" class="craft-inputs"></ul> |
| 275 | <p id="craft-status" class="hint"></p> |
| 276 | <div id="craft-progress" class="craft-progress"> |
| 277 | <div id="craft-progress-fill" class="craft-progress-fill"></div> |
| 278 | </div> |
| 279 | <div id="craft-actions" class="craft-actions"> |
| 280 | <button id="craft-button" type="button" disabled>Craft</button> |
| 281 | <button id="craft-batch-button" type="button" hidden disabled>Craft x</button> |
| 282 | <button id="craft-batch-all-button" type="button" hidden disabled>Craft all</button> |
| 283 | </div> |
| 284 | </div> |
| 285 | </div> |
| 286 | </div> |
| 287 | </aside> |
| 288 | |
| 289 | <div id="dye-picker-backdrop" class="modal-backdrop" hidden></div> |
| 290 | <aside id="dye-picker-panel" hidden> |
| 291 | <header> |
| 292 | <h2>Choose dye</h2> |
| 293 | <button id="dye-picker-close" type="button">Close</button> |
| 294 | </header> |
| 295 | <div id="dye-picker-grid" class="craft-recipe-grid"></div> |
| 296 | </aside> |
| 297 | |
| 298 | <div id="shop-backdrop" class="modal-backdrop" hidden></div> |
| 299 | <aside id="shop-panel" hidden> |
| 300 | <header> |
| 301 | <h2 id="shop-title">Shop</h2> |
| 302 | <button id="shop-close" type="button">Close</button> |
| 303 | </header> |
| 304 | <p id="shop-coins" class="shop-coins">Coins: 0</p> |
| 305 | <div class="shop-tabs" role="tablist"> |
| 306 | <button id="shop-tab-buy" type="button" class="shop-tab active" role="tab" aria-selected="true">Buy</button> |
| 307 | <button id="shop-tab-sell" type="button" class="shop-tab" role="tab" aria-selected="false" |
| 308 | hidden>Sell</button> |
| 309 | </div> |
| 310 | <section id="shop-pane-buy" class="shop-pane"> |
| 311 | <div class="shop-body"> |
| 312 | <div id="shop-grid" class="shop-grid"></div> |
| 313 | <div id="shop-detail" class="shop-detail" hidden> |
| 314 | <img id="shop-detail-icon" alt=""> |
| 315 | <strong id="shop-detail-name"></strong> |
| 316 | <span id="shop-detail-price" class="hint"></span> |
| 317 | <span id="shop-detail-stock" class="hint"></span> |
| 318 | <div class="shop-buy-row"> |
| 319 | <button id="shop-buy-1" type="button">Buy 1</button> |
| 320 | <button id="shop-buy-5" type="button">Buy 5</button> |
| 321 | <button id="shop-buy-10" type="button">Buy 10</button> |
| 322 | <button id="shop-buy-x" type="button">Buy x</button> |
| 323 | </div> |
| 324 | <p id="shop-bag-warn" class="shop-bag-warn" hidden>Inventory full; purchases will be sent to your |
| 325 | bank.</p> |
| 326 | </div> |
| 327 | </div> |
| 328 | </section> |
| 329 | <section id="shop-pane-sell" class="shop-pane" hidden> |
| 330 | <div class="shop-body"> |
| 331 | <div id="shop-sell-grid" class="item-grid shop-sell-grid"></div> |
| 332 | <div id="shop-sell-detail" class="shop-detail shop-sell-detail" hidden> |
| 333 | <img id="shop-sell-icon" alt=""> |
| 334 | <strong id="shop-sell-name"></strong> |
| 335 | <span id="shop-sell-price" class="hint"></span> |
| 336 | <span id="shop-sell-fee" class="hint" hidden></span> |
| 337 | <div id="shop-sell-actions" class="shop-buy-row"></div> |
| 338 | <p id="shop-sell-empty" class="hint" hidden></p> |
| 339 | </div> |
| 340 | </div> |
| 341 | </section> |
| 342 | </aside> |
| 343 | |
| 344 | <div id="shop-qty-backdrop" class="modal-backdrop" hidden></div> |
| 345 | <aside id="shop-qty-panel" hidden> |
| 346 | <header> |
| 347 | <h2 id="shop-qty-title">Buy quantity</h2> |
| 348 | <button id="shop-qty-close" type="button">Close</button> |
| 349 | </header> |
| 350 | <p id="shop-qty-hint" class="hint"></p> |
| 351 | <label class="send-row">Quantity |
| 352 | <input id="shop-qty-input" type="number" min="1" step="1" value="1"> |
| 353 | </label> |
| 354 | <button id="shop-qty-confirm" type="button">Buy</button> |
| 355 | </aside> |
| 356 | |
| 357 | <div id="market-backdrop" class="modal-backdrop" hidden></div> |
| 358 | <aside id="market-panel" hidden> |
| 359 | <header> |
| 360 | <h2 id="market-title">Central Exchange</h2> |
| 361 | <button id="market-close" type="button">Close</button> |
| 362 | </header> |
| 363 | <p id="market-hint" class="hint"></p> |
| 364 | <p id="market-coins" class="shop-coins">Funds: 0</p> |
| 365 | <div class="market-tabs" role="tablist"> |
| 366 | <button id="market-tab-orders" type="button" class="market-tab active" data-tab="orders">Your |
| 367 | Orders</button> |
| 368 | <button id="market-tab-sell" type="button" class="market-tab" data-tab="sell">Sell</button> |
| 369 | <button id="market-tab-buy" type="button" class="market-tab" data-tab="buy">Buy</button> |
| 370 | </div> |
| 371 | <section id="market-pane-orders" class="market-pane" data-pane="orders"> |
| 372 | <div id="market-orders"></div> |
| 373 | </section> |
| 374 | <section id="market-pane-sell" class="market-pane" data-pane="sell" hidden> |
| 375 | <div id="market-sell-list" class="item-grid"></div> |
| 376 | <p id="market-sell-selected" class="hint">Select an item from your bag</p> |
| 377 | <label class="send-row">Quantity |
| 378 | <input id="market-sell-qty" type="number" min="1" step="1" value="1"> |
| 379 | </label> |
| 380 | <label class="send-row">Min unit price |
| 381 | <input id="market-sell-min" type="number" min="1" step="1" value="1"> |
| 382 | </label> |
| 383 | <p id="market-sell-fee" class="hint"></p> |
| 384 | <div class="market-sell-actions"> |
| 385 | <button id="market-sell-confirm" type="button">Place sell order</button> |
| 386 | <button id="market-sell-suggest" type="button" class="market-price-suggest" hidden></button> |
| 387 | </div> |
| 388 | </section> |
| 389 | <section id="market-pane-buy" class="market-pane" data-pane="buy" hidden> |
| 390 | <label class="send-row">Search items |
| 391 | <input id="market-buy-search" type="search" placeholder="Type a name and press Enter" |
| 392 | autocomplete="off"> |
| 393 | </label> |
| 394 | <div id="market-catalog" class="market-catalog"></div> |
| 395 | <p id="market-buy-item" class="hint">Search and select an item</p> |
| 396 | <label class="send-row">Quantity |
| 397 | <input id="market-buy-qty" type="number" min="1" step="1" value="1"> |
| 398 | </label> |
| 399 | <label class="send-row">Max unit price |
| 400 | <input id="market-buy-max" type="number" min="1" step="1" value="1"> |
| 401 | </label> |
| 402 | <p id="market-buy-fee" class="hint"></p> |
| 403 | <button id="market-buy-confirm" type="button">Place buy order</button> |
| 404 | </section> |
| 405 | </aside> |
| 406 | |
| 407 | <div id="cauldron-backdrop" class="modal-backdrop" hidden></div> |
| 408 | <aside id="cauldron-panel" hidden> |
| 409 | <header> |
| 410 | <h2>Cauldron</h2> |
| 411 | <button id="cauldron-close" type="button">Close</button> |
| 412 | </header> |
| 413 | <div class="cauldron-tabs" role="tablist"> |
| 414 | <button id="cauldron-tab-alchemy" type="button" class="cauldron-tab active" role="tab" |
| 415 | aria-selected="true">Alchemy</button> |
| 416 | <button id="cauldron-tab-dyes" type="button" class="cauldron-tab" role="tab" |
| 417 | aria-selected="false">Dyes</button> |
| 418 | </div> |
| 419 | <section id="cauldron-alchemy-pane" class="cauldron-pane"> |
| 420 | <div id="cauldron-slots" class="cauldron-slots"></div> |
| 421 | <div id="cauldron-inserts" class="cauldron-inserts"></div> |
| 422 | <div class="cauldron-vessel" aria-hidden="true">⚗</div> |
| 423 | <p id="cauldron-flavor" class="cauldron-flavor">The cauldron is empty</p> |
| 424 | <div class="cauldron-actions"> |
| 425 | <button id="cauldron-stir" type="button" disabled>Stir</button> |
| 426 | <button id="cauldron-heat" type="button" disabled>Heat</button> |
| 427 | <button id="cauldron-cool" type="button" disabled>Cool</button> |
| 428 | </div> |
| 429 | <div class="cauldron-finish"> |
| 430 | <button id="cauldron-bottle" type="button">Bottle</button> |
| 431 | <button id="cauldron-clear" type="button">Clear</button> |
| 432 | <button id="cauldron-save-recipe" type="button" hidden>Save Recipe</button> |
| 433 | </div> |
| 434 | <ol id="cauldron-steps" class="cauldron-steps"></ol> |
| 435 | <p id="cauldron-status" class="hint"></p> |
| 436 | </section> |
| 437 | <section id="cauldron-dyes-pane" class="cauldron-pane" hidden> |
| 438 | <p class="hint">Place flowers of any colours, then create dye.</p> |
| 439 | <div id="cauldron-dye-slots" class="cauldron-slots cauldron-dye-slots"></div> |
| 440 | <div class="cauldron-finish"> |
| 441 | <button id="cauldron-create-dye" type="button">Create Dye</button> |
| 442 | <button id="cauldron-clear-dye" type="button">Clear</button> |
| 443 | </div> |
| 444 | <p id="cauldron-dye-status" class="hint"></p> |
| 445 | </section> |
| 446 | </aside> |
| 447 | |
| 448 | <div id="bounty-backdrop" class="modal-backdrop" hidden></div> |
| 449 | <aside id="bounty-panel" hidden> |
| 450 | <header> |
| 451 | <h2>Bounty Office</h2> |
| 452 | <button id="bounty-close" type="button">Close</button> |
| 453 | </header> |
| 454 | <div class="bounty-tabs" role="tablist"> |
| 455 | <button type="button" class="bounty-tab active" data-tab="place" role="tab">Place / raise</button> |
| 456 | <button type="button" class="bounty-tab" data-tab="mine" role="tab">My bounty</button> |
| 457 | </div> |
| 458 | <section class="bounty-pane" data-pane="place"> |
| 459 | <div class="bounty-search-row"> |
| 460 | <label>First <input id="bounty-search-first" autocomplete="off" spellcheck="false"></label> |
| 461 | <label>Last <input id="bounty-search-last" autocomplete="off" spellcheck="false"></label> |
| 462 | <button id="bounty-search" type="button">Search</button> |
| 463 | </div> |
| 464 | <div class="bounty-target"> |
| 465 | <div id="bounty-preview"></div> |
| 466 | <div> |
| 467 | <p id="bounty-target-label">No target selected.</p> |
| 468 | <p id="bounty-target-amount" class="hint"></p> |
| 469 | </div> |
| 470 | </div> |
| 471 | <label class="bounty-amount-label">Coins to add |
| 472 | <input id="bounty-amount" type="number" min="1" step="1" value="100"> |
| 473 | </label> |
| 474 | <button id="bounty-raise" type="button">Add to bounty</button> |
| 475 | <p id="bounty-status" class="hint"></p> |
| 476 | </section> |
| 477 | <section class="bounty-pane" data-pane="mine" hidden> |
| 478 | <p class="hint">Coin currently on your head:</p> |
| 479 | <p id="bounty-my-amount" class="bounty-my-amount">None</p> |
| 480 | </section> |
| 481 | </aside> |
| 482 | |
| 483 | <div id="barber-backdrop" class="modal-backdrop" hidden></div> |
| 484 | <aside id="barber-panel" hidden> |
| 485 | <header> |
| 486 | <h2>Barber</h2> |
| 487 | <button id="barber-close" type="button">Close</button> |
| 488 | </header> |
| 489 | <div class="hair-controls"> |
| 490 | <canvas data-hair-preview width="64" height="96" aria-label="Hair preview"></canvas> |
| 491 | <label>Hair |
| 492 | <select data-hair-style></select> |
| 493 | </label> |
| 494 | <label>Hue <input data-hair-hue type="range" min="0" max="360" value="30"></label> |
| 495 | <label>Saturation <input data-hair-saturation type="range" min="0" max="100" value="55"></label> |
| 496 | <label>Darkness <input data-hair-darkness type="range" min="0" max="100" value="45"></label> |
| 497 | <span data-hair-swatch class="hair-swatch" aria-hidden="true"></span> |
| 498 | </div> |
| 499 | <button id="barber-apply" type="button">Apply</button> |
| 500 | <p id="barber-status" class="hint"></p> |
| 501 | </aside> |
| 502 | |
| 503 | <div id="cauldron-pick-backdrop" class="modal-backdrop" hidden></div> |
| 504 | <aside id="cauldron-pick-panel" hidden> |
| 505 | <header> |
| 506 | <h2 id="cauldron-pick-title">Choose ingredient</h2> |
| 507 | <button id="cauldron-pick-cancel" type="button">Cancel</button> |
| 508 | </header> |
| 509 | <div id="cauldron-pick-list" class="cauldron-pick-list"></div> |
| 510 | <label class="cauldron-pick-qty">Quantity <input id="cauldron-pick-qty" type="number" min="1" value="1"></label> |
| 511 | <button id="cauldron-pick-confirm" type="button">Place in slot</button> |
| 512 | </aside> |
| 513 | |
| 514 | <div id="cauldron-dye-confirm-backdrop" class="modal-backdrop" hidden></div> |
| 515 | <aside id="cauldron-dye-confirm-panel" hidden> |
| 516 | <header> |
| 517 | <h2>Not enough bottles</h2> |
| 518 | <button id="cauldron-dye-confirm-cancel" type="button">Cancel</button> |
| 519 | </header> |
| 520 | <p id="cauldron-dye-confirm-text" class="hint"></p> |
| 521 | <button id="cauldron-dye-confirm-ok" type="button">Create anyway</button> |
| 522 | </aside> |
| 523 | |
| 524 | <div id="nametag" hidden></div> |
| 525 | <div id="damage-numbers"></div> |
| 526 | <div id="skill-level-floats"></div> |
| 527 | <div id="chat-bubbles"></div> |
| 528 | <div id="chat-bar" hidden> |
| 529 | <input id="chat-input" type="text" maxlength="100" autocomplete="off" spellcheck="false" |
| 530 | placeholder="Say something…"> |
| 531 | </div> |
| 532 | <div id="inspect-backdrop" hidden></div> |
| 533 | <div id="inspect-modal" hidden> |
| 534 | <header> |
| 535 | <h2 id="inspect-name">Player</h2> |
| 536 | <button id="inspect-close" type="button">Close</button> |
| 537 | </header> |
| 538 | <p id="inspect-bounty" class="hint" hidden></p> |
| 539 | <p id="inspect-error" class="error"></p> |
| 540 | <div id="inspect-action"></div> |
| 541 | </div> |
| 542 | <div id="death-backdrop" hidden></div> |
| 543 | <div id="death-modal" role="dialog" aria-modal="true" aria-labelledby="death-title" hidden> |
| 544 | <h2 id="death-title">You have died</h2> |
| 545 | <p>Your remains mark where you fell. Respawn at the nearest church altar.</p> |
| 546 | <p>Your carried coins are dropped on the ground.</p> |
| 547 | <button id="death-respawn" type="button">Respawn</button> |
| 548 | </div> |
| 549 | <div id="overlay"> |
| 550 | <section class="panel"> |
| 551 | <h1>Questward</h1> |
| 552 | <p id="status">Connecting…</p> |
| 553 | <div id="asset-load" class="asset-load" hidden> |
| 554 | <progress id="asset-load-bar" max="100" value="0"></progress> |
| 555 | <p id="asset-load-label" class="hint">Loading assets…</p> |
| 556 | </div> |
| 557 | <p id="auth-actions" class="auth-actions"> |
| 558 | <a id="auth-sign-in" href="/auth/login" hidden>Sign in</a> |
| 559 | <a id="auth-sign-out" href="/auth/logout" hidden>Sign out</a> |
| 560 | <a id="auth-export" href="/settings/export" hidden>Export my data</a> |
| 561 | </p> |
| 562 | <p id="error" class="error"></p> |
| 563 | <div id="character-list"></div> |
| 564 | <button id="create-character-open" type="button">Create Character</button> |
| 565 | <p class="hint">Open chunk 0,0 in the <a href="/editor">world editor</a>, save, then Apply now before |
| 566 | walking.</p> |
| 567 | </section> |
| 568 | </div> |
| 569 | <div id="create-backdrop" class="modal-backdrop" hidden></div> |
| 570 | <aside id="create-panel" hidden> |
| 571 | <header> |
| 572 | <h2>Create character</h2> |
| 573 | <button id="create-close" type="button">Close</button> |
| 574 | </header> |
| 575 | <p id="create-error" class="error"></p> |
| 576 | <form id="create-form"> |
| 577 | <div class="create-tabs" role="tablist"> |
| 578 | <button type="button" class="create-tab active" data-create-tab="appearance" role="tab" |
| 579 | aria-selected="true">Appearance</button> |
| 580 | <button type="button" class="create-tab" data-create-tab="clothing" role="tab" |
| 581 | aria-selected="false">Clothing</button> |
| 582 | </div> |
| 583 | <section class="create-pane" data-create-pane="appearance"> |
| 584 | <label>First name <input id="first-name" required maxlength="24" pattern="[A-Za-z-]+" title="Letters A–Z and hyphens only"></label> |
| 585 | <label>Last name <input id="last-name" required maxlength="24" pattern="[A-Za-z-]+" title="Letters A–Z and hyphens only"></label> |
| 586 | <label>Sex |
| 587 | <select id="sex"> |
| 588 | <option value="male">Male</option> |
| 589 | <option value="female">Female</option> |
| 590 | </select> |
| 591 | </label> |
| 592 | <div id="create-hair" class="hair-controls"> |
| 593 | <canvas id="create-hair-preview" data-hair-preview width="64" height="96" |
| 594 | aria-label="Character preview"></canvas> |
| 595 | <label>Hair |
| 596 | <select id="create-hair-style" data-hair-style></select> |
| 597 | </label> |
| 598 | <label>Hue <input id="create-hair-hue" data-hair-hue type="range" min="0" max="360" |
| 599 | value="30"></label> |
| 600 | <label>Saturation <input id="create-hair-saturation" data-hair-saturation type="range" min="0" |
| 601 | max="100" value="55"></label> |
| 602 | <label>Darkness <input id="create-hair-darkness" data-hair-darkness type="range" min="0" max="100" |
| 603 | value="45"></label> |
| 604 | <span id="create-hair-swatch" data-hair-swatch class="hair-swatch" aria-hidden="true"></span> |
| 605 | </div> |
| 606 | </section> |
| 607 | <section class="create-pane" data-create-pane="clothing" hidden> |
| 608 | <div id="create-clothing" class="create-clothing"> |
| 609 | <canvas id="create-clothing-preview" data-clothing-preview width="80" height="96" |
| 610 | aria-label="Clothing preview"></canvas> |
| 611 | <div class="create-clothing-fields"> |
| 612 | <label>Legs |
| 613 | <select data-create-legs></select> |
| 614 | </label> |
| 615 | <p class="hint">Cotton shirt is always included. Pick trousers, shorts, or a skirt.</p> |
| 616 | <fieldset class="create-dye-fieldset"> |
| 617 | <legend>Shirt colour</legend> |
| 618 | <label>Hue <input data-shirt-hue type="range" min="0" max="360" value="30"></label> |
| 619 | <label>Saturation <input data-shirt-saturation type="range" min="0" max="100" |
| 620 | value="55"></label> |
| 621 | <label>Darkness <input data-shirt-darkness type="range" min="0" max="100" |
| 622 | value="45"></label> |
| 623 | <span data-shirt-swatch class="hair-swatch" aria-hidden="true"></span> |
| 624 | </fieldset> |
| 625 | <fieldset class="create-dye-fieldset"> |
| 626 | <legend>Legs colour</legend> |
| 627 | <label>Hue <input data-legs-hue type="range" min="0" max="360" value="210"></label> |
| 628 | <label>Saturation <input data-legs-saturation type="range" min="0" max="100" |
| 629 | value="55"></label> |
| 630 | <label>Darkness <input data-legs-darkness type="range" min="0" max="100" value="45"></label> |
| 631 | <span data-legs-swatch class="hair-swatch" aria-hidden="true"></span> |
| 632 | </fieldset> |
| 633 | </div> |
| 634 | </div> |
| 635 | </section> |
| 636 | <button type="submit">Create & play</button> |
| 637 | </form> |
| 638 | </aside> |
| 639 | <script src="/framework/framework.js"></script> |
| 640 | <script type="module" src="/src/play/main.js"></script> |
| 641 | </body> |
| 642 | |
| 643 | </html> |