Valley map: show every choice's place from the start
Company (alone, one or two squadmates), walking away from the fight, all six cadet resolutions and the three forks are now on the map before any route is drawn, and each can be clicked as a starting point. The hint moves to the top so it no longer covers the start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
@@ -54,7 +54,11 @@
|
||||
const c = L[k].colour;
|
||||
SPOTS.push({ place: k, first: true, colour: c, pose: FIRST_POSE[c], sc: 0.2, flip: L[k].x > 500 });
|
||||
});
|
||||
const LANDMARKS = ["dir:West", "dir:Center", "dir:East", "scream", "bully", "wounded", "fork:Forest", "hour", "tree", "valley", "meadow", "stream"];
|
||||
// every place a choice can lead to is on the map from the start, so no option is hidden until a route is drawn
|
||||
const LANDMARKS = ["comp:Alone", "comp:1 Squadmate", "comp:2 Squadmates", "dir:West", "dir:Center", "dir:East", "scream", "bully", "away", "wounded",
|
||||
"res:Killed the bullies yourself", "res:Squadmate's revenge", "res:Left bullies to the dragons",
|
||||
"res:Tourniquet", "res:Left injured cadet", "res:Took their weapons",
|
||||
"fork:West", "fork:Forest", "fork:East", "hour", "tree", "valley", "meadow", "stream"];
|
||||
const LANDMARK_NAME = { "dir:West": "West, toward the scent", "dir:Center": "Forest centre", "dir:East": "East, toward the roar", "fork:Forest": "The fork" };
|
||||
|
||||
/* ---------- state ---------- */
|
||||
|
||||
@@ -325,7 +325,7 @@ footer { border-top-color: var(--line); }
|
||||
.ex-dragon { cursor: pointer; transition: opacity .25s; }
|
||||
.ex-dragon:focus-visible, .ex-mark:focus-visible, .ex-alt:focus-visible { outline: none; filter: drop-shadow(0 0 4px #fff); }
|
||||
.ex-mark, .ex-alt { cursor: pointer; }
|
||||
.ex-hint { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, #1d0a12 78%, transparent); color: #f6e6c4; font-family: var(--font-label); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; pointer-events: none; white-space: nowrap; }
|
||||
.ex-hint { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, #1d0a12 78%, transparent); color: #f6e6c4; font-family: var(--font-label); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; pointer-events: none; white-space: nowrap; }
|
||||
.ex-tip { position: absolute; z-index: 3; max-width: 260px; padding: 8px 10px; border-radius: 8px; background: #fbf0d6; color: #3b2416; font-size: 13px; line-height: 1.35; box-shadow: 0 4px 18px #0006; pointer-events: none; }
|
||||
.ex-panel { position: relative; border-left: 1px solid var(--line); }
|
||||
.ex-scroll { position: absolute; inset: 0; overflow: auto; display: grid; gap: 12px; align-content: start; padding: 18px; }
|
||||
@@ -441,7 +441,7 @@ a { color: var(--accent); text-underline-offset: 2px; }
|
||||
<section id="valley-sec" aria-labelledby="h-valley" class="explorer">
|
||||
<div class="ex-shell deco" id="ex-shell">
|
||||
<div class="ex-map-wrap"><svg id="ex-map" viewBox="0 0 1000 790" role="application" aria-label="Map of the threshing valley. Choose a dragon to see the routes to it."></svg>
|
||||
<div class="ex-hint" id="ex-hint">Choose a dragon, or click a place to start from there</div>
|
||||
<div class="ex-hint" id="ex-hint">Pick a dragon, or a place to start from</div>
|
||||
<div class="ex-tip" id="ex-tip" hidden></div>
|
||||
</div>
|
||||
<aside class="ex-panel" id="ex-panel" aria-live="polite"></aside>
|
||||
|
||||
|
Before Width: | Height: | Size: 738 KiB After Width: | Height: | Size: 738 KiB |
|
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.6 MiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 838 KiB After Width: | Height: | Size: 838 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 605 KiB After Width: | Height: | Size: 605 KiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 3.5 MiB After Width: | Height: | Size: 3.5 MiB |
|
Before Width: | Height: | Size: 696 KiB After Width: | Height: | Size: 696 KiB |
|
Before Width: | Height: | Size: 540 KiB After Width: | Height: | Size: 549 KiB |
@@ -1,17 +1,29 @@
|
||||
Alone
|
||||
One squadmate
|
||||
Two squadmates
|
||||
West, toward the scent
|
||||
Forest centre
|
||||
East, toward the roar
|
||||
The scream
|
||||
The bully fight
|
||||
Walked away
|
||||
The wounded cadet
|
||||
Kill them
|
||||
Squadmate's revenge
|
||||
Dragons decide
|
||||
Tourniquet
|
||||
Leave them
|
||||
Take their weapons
|
||||
West fork
|
||||
The fork
|
||||
East fork
|
||||
An hour's walk
|
||||
The tallest tree
|
||||
Valley centre
|
||||
The meadow
|
||||
The shadow
|
||||
ENTER THE VALLEY
|
||||
CHOOSE A DRAGON, OR CLICK A PLACE TO START FROM THERE
|
||||
PICK A DRAGON, OR A PLACE TO START FROM
|
||||
UNOFFICIAL ATLAS · BUILT FROM 5,651 LOGGED RUNS
|
||||
The valley
|
||||
|
||||
|
||||