Session 6: Achievement Expansion - Added 10 new achievements (prestige, building milestones, click power, time-based)

This commit is contained in:
2026-08-20 21:45:55 +00:00
parent 3ee33ee43f
commit e7c9e677f6
3 changed files with 112 additions and 4 deletions
+86 -2
View File
@@ -135,7 +135,7 @@ const ACHIEVEMENTS = {
icon: '💧',
condition: (state) => Game.getProductionPerSecond() >= 100
},
rushingRiver: {
id: 'rushingRiver',
name: 'Rushing River',
@@ -143,13 +143,97 @@ const ACHIEVEMENTS = {
icon: '🌊',
condition: (state) => Game.getProductionPerSecond() >= 1000
},
cosmicFlood: {
id: 'cosmicFlood',
name: 'Cosmic Flood',
description: 'Reach 100,000 stardust/sec',
icon: '🌊',
condition: (state) => Game.getProductionPerSecond() >= 100000
},
// Prestige achievements
firstPrestige: {
id: 'firstPrestige',
name: 'Cosmic Rebirth',
description: 'Prestige for the first time',
icon: '🌀',
condition: (state) => state.prestigeCount >= 1
},
stellarAdaptation: {
id: 'stellarAdaptation',
name: 'Stellar Adaptation',
description: 'Prestige 5 times',
icon: '⭐',
condition: (state) => state.prestigeCount >= 5
},
cosmicAscension: {
id: 'cosmicAscension',
name: 'Cosmic Ascension',
description: 'Prestige 10 times',
icon: '🌟',
condition: (state) => state.prestigeCount >= 10
},
eternalGardener: {
id: 'eternalGardener',
name: 'Eternal Gardener',
description: 'Earn 100 total Stellar Essence',
icon: '💎',
condition: (state) => state.totalPrestigeEssence >= 100
},
quantumGrowth: {
id: 'quantumGrowth',
name: 'Quantum Growth',
description: 'Earn 1,000 total Stellar Essence',
icon: '🔮',
condition: (state) => state.totalPrestigeEssence >= 1000
},
// Building milestone achievements
voidWeaver: {
id: 'voidWeaver',
name: 'Void Weaver',
description: 'Own 25 Void Ferns',
icon: '🌿',
condition: (state) => (state.buildings.voidFern || 0) >= 25
},
supernovaGrowth: {
id: 'supernovaGrowth',
name: 'Supernova Growth',
description: 'Own 25 Supernova Seeds',
icon: '💥',
condition: (state) => (state.buildings.supernovaSeed || 0) >= 25
},
// Click power achievements
powerfulHarvester: {
id: 'powerfulHarvester',
name: 'Powerful Harvester',
description: 'Reach 1,000 click power',
icon: '✋',
condition: (state) => Game.getClickPower() >= 1000
},
divineTouch: {
id: 'divineTouch',
name: 'Divine Touch',
description: 'Reach 10,000 click power',
icon: '🤚',
condition: (state) => Game.getClickPower() >= 10000
},
// Time-based achievement
dedicatedGardener: {
id: 'dedicatedGardener',
name: 'Dedicated Gardener',
description: 'Play for 1 hour total',
icon: '⏰',
condition: (state) => (Date.now() - state.startTime) >= 3600000
}
};