feat: v1 prototype — core game systems #30

Merged
naomi merged 84 commits from feat/prototype into main 2026-03-08 15:53:39 -07:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit ad5f2ad226 - Show all commits
@@ -21,6 +21,8 @@ const UNLOCK_LABELS: Record<string, string> = {
const formatThreshold = (type: string, threshold: number): string => {
if (type === "lifetimeGold") {
if (threshold >= 1e18) return `${(threshold / 1e18).toFixed(0)}Qt`;
if (threshold >= 1e15) return `${(threshold / 1e15).toFixed(0)}Q`;
if (threshold >= 1e12) return `${(threshold / 1e12).toFixed(0)}T`;
if (threshold >= 1e9) return `${(threshold / 1e9).toFixed(0)}B`;
if (threshold >= 1e6) return `${(threshold / 1e6).toFixed(0)}M`;
+3 -3
View File
@@ -79,7 +79,7 @@ export const COMPANIONS: Companion[] = [
title: "Arcane Alchemist",
description: "A brilliant alchemist who transmutes ambient magic into pure essence, bolstering your income.",
bonus: { type: "essenceIncome", value: 0.30 },
unlock: { type: "prestige", threshold: 1 },
unlock: { type: "prestige", threshold: 10 },
},
{
id: "kael",
@@ -103,7 +103,7 @@ export const COMPANIONS: Companion[] = [
title: "Merchant Queen",
description: "A wealthy merchant whose golden touch and trade empire dramatically boosts your passive earnings.",
bonus: { type: "passiveGold", value: 0.75 },
unlock: { type: "lifetimeGold", threshold: 1e12 },
unlock: { type: "lifetimeGold", threshold: 1e18 },
},
{
id: "vex",
@@ -111,7 +111,7 @@ export const COMPANIONS: Companion[] = [
title: "Shadow Broker",
description: "A shadowy information broker who channels essence from the void through forbidden knowledge.",
bonus: { type: "essenceIncome", value: 0.75 },
unlock: { type: "transcendence", threshold: 1 },
unlock: { type: "transcendence", threshold: 5 },
},
{
id: "pria",