From 20c90acf37beea2da1da42597c65c745abce4da2 Mon Sep 17 00:00:00 2001 From: Mees Date: Sat, 19 Oct 2024 11:53:38 +0200 Subject: [PATCH] chore: add more crafting receipes --- src/stores/trainingStore.ts | 54 ++++++++++++++++++++++++++++++++++++- src/types/trainingTypes.ts | 1 + 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/src/stores/trainingStore.ts b/src/stores/trainingStore.ts index d49626a..e1799a3 100644 --- a/src/stores/trainingStore.ts +++ b/src/stores/trainingStore.ts @@ -131,7 +131,7 @@ export const useTrainingStore = defineStore({ }, { name: CraftingRecipeType.AntHill, - description: 'Generates ants passively', + description: 'Generates 1 ant passively per Ant Hill', cost: { [ResourceType.Leaf]: 5, [ResourceType.Clay]: 20, @@ -163,6 +163,58 @@ export const useTrainingStore = defineStore({ initialTimePerAction: 10, timePerAction: 10, }, + { + name: CraftingRecipeType.AdvancedLarvaeStorage, + description: 'Increase the storage capacity for ant larvae by 0.5%', + cost: { + [ResourceType.RottenWood]: 10, + [ResourceType.Fungus]: 10, + }, + + storageIncrease: { + larvae: 0.005, + }, + + xpPerAction: 50, + levelRequired: 25, + initialTimePerAction: 10, + timePerAction: 10, + }, + { + name: CraftingRecipeType.AdvancedAntStorage, + description: 'Increase the storage capacity for ants by 0.5%', + cost: { + [ResourceType.RockFragment]: 10, + [ResourceType.RottenWood]: 15, + [ResourceType.Fungus]: 15, + }, + + storageIncrease: { + ant: 0.005, + }, + + xpPerAction: 50, + levelRequired: 25, + initialTimePerAction: 10, + timePerAction: 10, + }, + { + name: CraftingRecipeType.AdvancedAntHill, + description: 'Generates 5 ants passively per Ant Hill', + cost: { + [ResourceType.RockFragment]: 10, + [ResourceType.Fungus]: 10, + ants: 100, + }, + + xpPerAction: 100, + levelRequired: 50, + initialTimePerAction: 20, + timePerAction: 20, + effect: { + antGeneration: 5, + }, + }, ], craftedItems: { [CraftingRecipeType.SeedStorage]: 0, diff --git a/src/types/trainingTypes.ts b/src/types/trainingTypes.ts index 2346eb8..ca41f7d 100644 --- a/src/types/trainingTypes.ts +++ b/src/types/trainingTypes.ts @@ -57,6 +57,7 @@ export enum CraftingRecipeType { AdvancedAntStorage = 'Advanced Ant Storage', AntHill = 'Ant Hill', + AdvancedAntHill = 'Advanced Ant Hill', } export interface TrainingState {