fix: rename mage_1/cleric_1 upgrades to match adventurer IDs

The Apprentice Mage upgrade was named mage_1 and the Acolyte upgrade
was named cleric_1 — both referencing the adventurer class rather
than the adventurer ID. All other adventurer upgrades use the
adventurer ID as the prefix. Updated upgrades.ts, quests.ts (reward
targetIds), and codex.ts (sourceIds) consistently.

Closes #105
This commit is contained in:
2026-03-23 16:15:28 -07:00
committed by Naomi Carrigan
parent 943b1ed293
commit 08af4cc2f7
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ export const defaultQuests: Array<Quest> = [
rewards: [
{ amount: 15_000, type: "gold" },
{ amount: 20, type: "essence" },
{ targetId: "cleric_1", type: "upgrade" },
{ targetId: "acolyte_1", type: "upgrade" },
{ targetId: "ranger", type: "adventurer" },
],
status: "locked",
@@ -116,7 +116,7 @@ export const defaultQuests: Array<Quest> = [
rewards: [
{ amount: 300, type: "essence" },
{ amount: 30, type: "crystals" },
{ targetId: "mage_1", type: "upgrade" },
{ targetId: "apprentice_1", type: "upgrade" },
{ targetId: "archmage", type: "adventurer" },
],
status: "locked",
+2 -2
View File
@@ -209,7 +209,7 @@ export const defaultUpgrades: Array<Upgrade> = [
costEssence: 2,
costGold: 5000,
description: "Ancient books of magic double mage output.",
id: "mage_1",
id: "apprentice_1",
multiplier: 2,
name: "Arcane Tomes",
purchased: false,
@@ -222,7 +222,7 @@ export const defaultUpgrades: Array<Upgrade> = [
costEssence: 3,
costGold: 8000,
description: "Sacred ceremonies double the output of your clerics.",
id: "cleric_1",
id: "acolyte_1",
multiplier: 2,
name: "Holy Rites",
purchased: false,