generated from nhcarrigan/template
feat: initial elysium idle game prototype
Sets up the full monorepo with pnpm workspaces. Includes shared types package, Hono API with Discord OAuth/JWT auth, Prisma v6 + MongoDB Atlas, and React + Vite frontend with game loop, five tabs, and Discord-linked save/load.
This commit is contained in:
@@ -0,0 +1,98 @@
|
||||
import type { Upgrade } from "@elysium/types";
|
||||
|
||||
export const DEFAULT_UPGRADES: Upgrade[] = [
|
||||
// Click upgrades
|
||||
{
|
||||
id: "click_1",
|
||||
name: "Keen Eye",
|
||||
description: "Your strikes find weak points. Doubles click power.",
|
||||
target: "click",
|
||||
multiplier: 2,
|
||||
costGold: 100,
|
||||
costEssence: 0,
|
||||
purchased: false,
|
||||
unlocked: true,
|
||||
},
|
||||
{
|
||||
id: "click_2",
|
||||
name: "Battle Hardened",
|
||||
description: "Years of combat sharpen your instincts. Doubles click power again.",
|
||||
target: "click",
|
||||
multiplier: 2,
|
||||
costGold: 1000,
|
||||
costEssence: 0,
|
||||
purchased: false,
|
||||
unlocked: false,
|
||||
},
|
||||
{
|
||||
id: "click_3",
|
||||
name: "Legendary Weapon",
|
||||
description: "A weapon of ancient power. Triples click power.",
|
||||
target: "click",
|
||||
multiplier: 3,
|
||||
costGold: 50_000,
|
||||
costEssence: 10,
|
||||
purchased: false,
|
||||
unlocked: false,
|
||||
},
|
||||
// Global upgrades
|
||||
{
|
||||
id: "global_1",
|
||||
name: "Guild Charter",
|
||||
description: "Formalising the guild structure increases all income by 25%.",
|
||||
target: "global",
|
||||
multiplier: 1.25,
|
||||
costGold: 500,
|
||||
costEssence: 0,
|
||||
purchased: false,
|
||||
unlocked: false,
|
||||
},
|
||||
{
|
||||
id: "global_2",
|
||||
name: "Merchant Alliance",
|
||||
description: "Trade routes boost all income by 50%.",
|
||||
target: "global",
|
||||
multiplier: 1.5,
|
||||
costGold: 10_000,
|
||||
costEssence: 5,
|
||||
purchased: false,
|
||||
unlocked: false,
|
||||
},
|
||||
// Adventurer-specific upgrades
|
||||
{
|
||||
id: "peasant_1",
|
||||
name: "Better Tools",
|
||||
description: "Peasants work twice as hard with proper equipment.",
|
||||
target: "adventurer",
|
||||
adventurerId: "peasant",
|
||||
multiplier: 2,
|
||||
costGold: 200,
|
||||
costEssence: 0,
|
||||
purchased: false,
|
||||
unlocked: false,
|
||||
},
|
||||
{
|
||||
id: "militia_1",
|
||||
name: "Militia Training",
|
||||
description: "Formal training doubles militia effectiveness.",
|
||||
target: "adventurer",
|
||||
adventurerId: "militia",
|
||||
multiplier: 2,
|
||||
costGold: 1_000,
|
||||
costEssence: 0,
|
||||
purchased: false,
|
||||
unlocked: false,
|
||||
},
|
||||
{
|
||||
id: "mage_1",
|
||||
name: "Arcane Tomes",
|
||||
description: "Ancient books of magic double mage output.",
|
||||
target: "adventurer",
|
||||
adventurerId: "apprentice",
|
||||
multiplier: 2,
|
||||
costGold: 5_000,
|
||||
costEssence: 2,
|
||||
purchased: false,
|
||||
unlocked: false,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user