From 5e924fb5215ad7dbb0b07493bbcd1a0a5ac528ae Mon Sep 17 00:00:00 2001 From: Felix Lee Date: Tue, 21 Jul 2026 22:19:05 -0700 Subject: [PATCH] saws hotfix --- src/index.css | 10 ++++++++++ src/scenes/Checks.js | 15 ++++++++++++++- src/utils/locations.js | 10 +++++----- src/utils/logic-helper.js | 21 ++++++++++++++++----- 4 files changed, 45 insertions(+), 11 deletions(-) diff --git a/src/index.css b/src/index.css index 175e3af..9e288bb 100644 --- a/src/index.css +++ b/src/index.css @@ -229,6 +229,16 @@ body { padding: 0 2px; } +.check-tracker .starting-age--unselected { + color: #ffc107; +} + +.check-tracker .starting-age-prompt { + font-size: 0.75em; + padding: 0 2px; + color: #ffc107; +} + /** *************************************** */ /** Requirements Tooltip */ /** *************************************** */ diff --git a/src/scenes/Checks.js b/src/scenes/Checks.js index befee81..f28ef7b 100644 --- a/src/scenes/Checks.js +++ b/src/scenes/Checks.js @@ -113,6 +113,7 @@ const Checks = () => { return (
+ { ); }; +// Until the player picks a starting age, every check evaluates as inaccessible, +// so tell them why the regions look empty. +const StartingAgePrompt = () => { + const { startingAge } = useStartingAge(); + + if (!SettingsHelper.needsStartingAgeSelection() || startingAge) { + return null; + } + + return
Select starting age to see available checks.
; +}; + // With Closed Door of Time and a random starting age, nothing is reachable until the // player picks starting age. const StartingAge = () => { @@ -425,7 +438,7 @@ const StartingAge = () => { } return ( -
+
Starting age {["child", "adult"].map(age => (