Skip to content

Commit

Permalink
chore: update some more achievements
Browse files Browse the repository at this point in the history
  • Loading branch information
Mees committed Oct 20, 2024
1 parent 2083a1f commit 3d0ac24
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
26 changes: 24 additions & 2 deletions src/stores/achievementStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,10 +614,10 @@ export const useAchievementStore = defineStore({
unlockCondition: () => useAchievementStore().totals.larvae >= 1_000_000,
progress: () => useAchievementStore().totals.larvae / 1_000_000,
reward: {
description: 'Larvae storage capacity increased by 50%.',
description: 'Larvae storage capacity increased by 100%.',
isClaimed: false,
onClaim: () => {
useResourcesStore().achievementModifiers.storage.larvae += 0.5
useResourcesStore().achievementModifiers.storage.larvae += 1
},
},
},
Expand All @@ -628,6 +628,13 @@ export const useAchievementStore = defineStore({
isUnlocked: false,
unlockCondition: () => useAchievementStore().totals.larvae >= 10_000_000,
progress: () => useAchievementStore().totals.larvae / 10_000_000,
reward: {
description: 'Larvae storage capacity increased by 150%.',
isClaimed: false,
onClaim: () => {
useResourcesStore().achievementModifiers.storage.larvae += 1.5
},
},
},
{
id: 'produce_100_million_larvae',
Expand All @@ -636,6 +643,13 @@ export const useAchievementStore = defineStore({
isUnlocked: false,
unlockCondition: () => useAchievementStore().totals.larvae >= 100_000_000,
progress: () => useAchievementStore().totals.larvae / 100_000_000,
reward: {
description: 'You\'ll need this.. trust me. Increases larvae storage capacity by 500%.',
isClaimed: false,
onClaim: () => {
useResourcesStore().achievementModifiers.storage.larvae += 5
},
},
},
{
id: 'produce_1_billion_larvae',
Expand All @@ -652,6 +666,14 @@ export const useAchievementStore = defineStore({
isUnlocked: false,
unlockCondition: () => useAchievementStore().totals.larvae >= 10_000_000_000,
progress: () => useAchievementStore().totals.larvae / 10_000_000_000,

reward: {
description: 'Larvae production is doubled!',
isClaimed: false,
onClaim: () => {
useResourcesStore().productionRates.larvaeProductionModifier += 1
},
},
},
{
id: 'produce_100_billion_larvae',
Expand Down
2 changes: 1 addition & 1 deletion src/stores/adventureStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ export const useAdventureStore = defineStore('adventureStore', {

// Apply modifiers
this.armyAttack = baseAttack * this.armyAttackModifier
this.armyDefense = baseDefense * this.armyDefenseModifier * useTrainingStore().farmingModifiers.defense
this.armyDefense = baseDefense * this.armyDefenseModifier * useTrainingStore().farmingModifiers.defense
this.armyMaxHealth = baseHealth * this.armyMaxHealthModifier
this.armyRegen = baseRegen * this.armyRegenModifier

Expand Down

0 comments on commit 3d0ac24

Please sign in to comment.