Files
elysium/apps/api/src/data/titles.ts
T
hikari 29c817230d
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m1s
CI / Lint, Build & Test (push) Successful in 1m6s
feat: initial prototype — core game systems (#30)
## Summary

This PR represents the full v1 prototype, implementing the core game systems for Elysium.

- Full idle/clicker RPG loop: resource collection, crafting, boss fights, exploration, and quests
- Adventurer hiring with batch size selector and progressive tier cost scaling
- Prestige, transcendence, and apotheosis systems with auto-prestige support
- Character sheet, titles, leaderboards, companion system, and daily login bonuses
- Auto-quest and auto-boss toggles
- Discord webhook notifications on prestige/transcendence/apotheosis
- Discord role awarded on apotheosis
- Responsive design and overarching story/lore system
- In-game sound effects and browser notifications for key events
- Support link button in the resource bar
- Full test coverage (100% on `apps/api` and `packages/types`)
- CI pipeline: lint → build → test

## Closes

Closes #1
Closes #2
Closes #3
Closes #4
Closes #5
Closes #6
Closes #7
Closes #8
Closes #9
Closes #10
Closes #11
Closes #12
Closes #13
Closes #14
Closes #16
Closes #19
Closes #20
Closes #21
Closes #22
Closes #23
Closes #24
Closes #25
Closes #26
Closes #27
Closes #29

 This issue was created with help from Hikari~ 🌸

Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Reviewed-on: #30
Co-authored-by: Hikari <hikari@nhcarrigan.com>
Co-committed-by: Hikari <hikari@nhcarrigan.com>
2026-03-08 15:53:39 -07:00

142 lines
4.0 KiB
TypeScript

/**
* @file Game title definitions.
* @copyright nhcarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
import type { Title } from "@elysium/types";
export const gameTitles: Array<Title> = [
// Quest milestones
{
condition: { amount: 1, type: "questsCompleted" },
description: "Complete your first quest.",
id: "the_adventurous",
name: "The Adventurous",
},
{
condition: { amount: 100, type: "questsCompleted" },
description: "Complete 100 quests in a single run.",
id: "the_persistent",
name: "The Persistent",
},
// Boss milestones
{
condition: { amount: 1, type: "bossesDefeated" },
description: "Defeat your first boss.",
id: "boss_slayer",
name: "Boss Slayer",
},
{
condition: { amount: 10, type: "bossesDefeated" },
description: "Defeat 10 bosses in a single run.",
id: "dungeon_master",
name: "Dungeon Master",
},
// Gold milestones
{
condition: { amount: 1_000_000, type: "totalGoldEarned" },
description: "Earn 1,000,000 gold in a single run.",
id: "the_wealthy",
name: "The Wealthy",
},
{
condition: { amount: 1_000_000_000, type: "totalGoldEarned" },
description: "Earn 1,000,000,000 gold in a single run.",
id: "the_rich",
name: "The Rich",
},
// Click milestones
{
condition: { amount: 10_000, type: "totalClicks" },
description: "Click the Guild Hall 10,000 times in a single run.",
id: "click_maniac",
name: "Click Maniac",
},
// Adventurer milestones
{
condition: { amount: 100, type: "adventurerTotal" },
description: "Recruit 100 adventurers.",
id: "commander",
name: "Commander",
},
{
condition: { amount: 1000, type: "adventurerTotal" },
description: "Recruit 1,000 adventurers.",
id: "warlord",
name: "Warlord",
},
// Social
{
condition: { type: "guildFounded" },
description: "Give your guild a name.",
id: "guild_founder",
name: "Guild Founder",
},
// Prestige milestones
{
condition: { amount: 1, type: "prestigeCount" },
description: "Achieve your first Prestige.",
id: "the_undying",
name: "The Undying",
},
{
condition: { amount: 5, type: "prestigeCount" },
description: "Achieve 5 Prestiges.",
id: "battle_hardened",
name: "Battle Hardened",
},
{
condition: { amount: 25, type: "prestigeCount" },
description: "Achieve 25 Prestiges.",
id: "legend",
name: "Legend",
},
// Transcendence milestones
{
condition: { amount: 1, type: "transcendenceCount" },
description: "Achieve your first Transcendence.",
id: "transcendent",
name: "Transcendent",
},
{
condition: { amount: 5, type: "transcendenceCount" },
description: "Achieve 5 Transcendences.",
id: "beyond_mortal",
name: "Beyond Mortal",
},
// Apotheosis milestones
{
condition: { amount: 1, type: "apotheosisCount" },
description: "Achieve your first Apotheosis.",
id: "apotheosised",
name: "Apotheosised",
},
{
condition: { amount: 5, type: "apotheosisCount" },
description: "Achieve 5 Apotheoses.",
id: "ascendant",
name: "Ascendant",
},
// Achievement milestone
{
condition: { amount: 40, type: "achievementsUnlocked" },
description: "Unlock all achievements.",
id: "completionist",
name: "Completionist",
},
// Longevity
{
condition: { amount: 30, type: "playedDays" },
description: "Play Elysium for 30 days.",
id: "veteran",
name: "Veteran",
},
{
condition: { amount: 365, type: "playedDays" },
description: "Play Elysium for a full year.",
id: "timeless",
name: "Timeless",
},
];