From 1e9331cdd878605d5724f5ff3739312cd8f4e458 Mon Sep 17 00:00:00 2001
From: Stephanie Gredell
Date: Sun, 7 Sep 2025 19:50:32 -0700
Subject: [PATCH] pull act name from maps.js
---
src/ui/render.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/ui/render.js b/src/ui/render.js
index 095a849..f52ede4 100644
--- a/src/ui/render.js
+++ b/src/ui/render.js
@@ -290,6 +290,7 @@ export async function renderMap(root) {
const { ENEMIES } = await import("../data/enemies.js");
const { RELICS } = await import("../data/relics.js");
const { getAllMessages } = await import("../data/messages.js");
+ const { MAPS } = await import("../data/maps.js");
const m = root.map;
const currentId = root.nodeId;
@@ -462,12 +463,12 @@ But cake lies ahead at the top of the Spire.
Act I
-
I'm doing a startup!
+
${MAPS.act1?.name || 'Act I'}
Act II
-
Look dad, we made it!
+
${MAPS.act2?.name || 'Act II'}
@@ -1069,6 +1070,7 @@ export function renderRelicSelection(root) {
+ Welcome, Prime, to ThePrimeagen Spire — a tower that rises once a year in your honor. At its base, the climb begins with a choice of relics, each shaping the path ahead. And know this: messages await in your Inbox, ready to be read before the journey begins.
Choose a Starting Relic
Select one of the following relics to begin your run.