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
This commit is contained in:
ekcSchiano
2026-11-02 20:28:10 +00:00
co-authored by Claude Opus 5.5
parent 5f66b9647a
commit c2dcaee16f
14 changed files with 21 additions and 5 deletions
+5 -1
View File
@@ -54,7 +54,11 @@
const c = L[k].colour; 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 }); 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" }; const LANDMARK_NAME = { "dir:West": "West, toward the scent", "dir:Center": "Forest centre", "dir:East": "East, toward the roar", "fork:Forest": "The fork" };
/* ---------- state ---------- */ /* ---------- state ---------- */
+2 -2
View File
@@ -325,7 +325,7 @@ footer { border-top-color: var(--line); }
.ex-dragon { cursor: pointer; transition: opacity .25s; } .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-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-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-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-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; } .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"> <section id="valley-sec" aria-labelledby="h-valley" class="explorer">
<div class="ex-shell deco" id="ex-shell"> <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-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 class="ex-tip" id="ex-tip" hidden></div>
</div> </div>
<aside class="ex-panel" id="ex-panel" aria-live="polite"></aside> <aside class="ex-panel" id="ex-panel" aria-live="polite"></aside>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 KiB

After

Width:  |  Height:  |  Size: 738 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 838 KiB

After

Width:  |  Height:  |  Size: 838 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

+1 -1
View File
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 605 KiB

After

Width:  |  Height:  |  Size: 605 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 696 KiB

After

Width:  |  Height:  |  Size: 696 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 540 KiB

After

Width:  |  Height:  |  Size: 549 KiB

+13 -1
View File
@@ -1,17 +1,29 @@
Alone
One squadmate
Two squadmates
West, toward the scent West, toward the scent
Forest centre Forest centre
East, toward the roar East, toward the roar
The scream The scream
The bully fight The bully fight
Walked away
The wounded cadet The wounded cadet
Kill them
Squadmate's revenge
Dragons decide
Tourniquet
Leave them
Take their weapons
West fork
The fork The fork
East fork
An hour's walk An hour's walk
The tallest tree The tallest tree
Valley centre Valley centre
The meadow The meadow
The shadow The shadow
ENTER THE VALLEY 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 UNOFFICIAL ATLAS · BUILT FROM 5,651 LOGGED RUNS
The valley The valley