Skip to content

Commit

Permalink
chore: add more crafting receipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mees committed Oct 19, 2024
1 parent db0c8aa commit 20c90ac
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
54 changes: 53 additions & 1 deletion src/stores/trainingStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions src/types/trainingTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export enum CraftingRecipeType {
AdvancedAntStorage = 'Advanced Ant Storage',

AntHill = 'Ant Hill',
AdvancedAntHill = 'Advanced Ant Hill',
}

export interface TrainingState {
Expand Down

0 comments on commit 20c90ac

Please sign in to comment.