Skip to content

Commit

Permalink
Add support for churning
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume009 committed Sep 2, 2024
1 parent b4ecf55 commit 4ec07e5
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Displays an indicator showing how much progress you've made on your current acti
- Cutting fruits
- Mixing pastry & wine
- Topping pizza
- Churning dairy products
- Smithing
- Smelting
- Smithing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@ public enum Action
FIREMAKING_CAMPFIRE("Tending",ActionProgressConfig::campfire, ActionIcon.SPRITE_FIREMAKING,5,4),
GUARDIAN_OF_THE_RIFT_CRAFTING("Crafting", ActionProgressConfig::guardianOfTheRiftCrafting, ActionIcon.SPRITE_CRAFTING, 1),
//Timing might be off. Not on the wiki. Will need to confirm when having more rewards points
GUARDIAN_OF_THE_RIFT_REWARD_POOL("Searching", ActionProgressConfig::guardianOfTheRiftRewardPool, ActionIcon.SPRITE_GUARDIAN_OF_THE_RIFT_REWARD, 3);
GUARDIAN_OF_THE_RIFT_REWARD_POOL("Searching", ActionProgressConfig::guardianOfTheRiftRewardPool, ActionIcon.SPRITE_GUARDIAN_OF_THE_RIFT_REWARD, 3),
CHURNING_CREAM("Churning", ActionProgressConfig::cookingChurning, ActionIcon.SPRITE_COOKING,10),
CHURNING_BUTTER_WITH_MILK("Churning", ActionProgressConfig::cookingChurning, ActionIcon.SPRITE_COOKING,19),
CHURNING_BUTTER_WITH_CREAM("Churning", ActionProgressConfig::cookingChurning, ActionIcon.SPRITE_COOKING,10),
CHURNING_CHEESE_WITH_MILK("Churning", ActionProgressConfig::cookingChurning, ActionIcon.SPRITE_COOKING,26),
CHURNING_CHEESE_WITH_CREAM("Churning", ActionProgressConfig::cookingChurning, ActionIcon.SPRITE_COOKING,19),
CHURNING_CHEESE_WITH_BUTTER("Churning", ActionProgressConfig::cookingChurning, ActionIcon.SPRITE_COOKING,10),
CHURNING_CHEESE_WITH_GARLIC("Churning", ActionProgressConfig::cookingChurning, ActionIcon.SPRITE_COOKING,10);

private final String description;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,17 @@ default boolean cookingCutFruit()
return true;
}

@ConfigItem(
name = "Dairy churning",
keyName = "cooking.churning",
description = "Enable/Disable monitoring churning dairy products.",
section = COOKING
)
default boolean cookingChurning()
{
return true;
}

@ConfigItem(
name = "Smelting Items",
keyName = "smithing.smelting",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,14 @@ public class ChatboxDetector extends ActionDetector
new Product(FLETCH_ATTACH, DIAMOND_BOLTS, new Ingredient(ADAMANT_BOLTS,10) , new Ingredient(DIAMOND_BOLT_TIPS,10)),
new Product(FLETCH_ATTACH, DRAGONSTONE_BOLTS, new Ingredient(RUNITE_BOLTS,10) , new Ingredient(DRAGONSTONE_BOLT_TIPS,10)),
new Product(FLETCH_ATTACH, ONYX_BOLTS, new Ingredient(RUNITE_BOLTS,10) , new Ingredient(ONYX_BOLT_TIPS,10)),
new Product(FARM_ULTRA_COMPOST, ULTRACOMPOST, new Ingredient(VOLCANIC_ASH,2), new Ingredient(SUPERCOMPOST))
new Product(FARM_ULTRA_COMPOST, ULTRACOMPOST, new Ingredient(VOLCANIC_ASH,2), new Ingredient(SUPERCOMPOST)),
new Product(CHURNING_CREAM, POT_OF_CREAM, new Ingredient(BUCKET_OF_MILK)),
new Product(CHURNING_BUTTER_WITH_MILK, PAT_OF_BUTTER, new Ingredient(BUCKET_OF_MILK)),
new Product(CHURNING_BUTTER_WITH_CREAM, PAT_OF_BUTTER, new Ingredient(POT_OF_CREAM)),
new Product(CHURNING_CHEESE_WITH_MILK, CHEESE, new Ingredient(BUCKET_OF_MILK)),
new Product(CHURNING_CHEESE_WITH_CREAM, CHEESE, new Ingredient(POT_OF_CREAM)),
new Product(CHURNING_CHEESE_WITH_BUTTER, CHEESE, new Ingredient(PAT_OF_BUTTER)),
new Product(CHURNING_CHEESE_WITH_GARLIC, CHEESE, new Ingredient(PAT_OF_NOT_GARLIC_BUTTER)),
// @formatter:on
};

Expand Down

0 comments on commit 4ec07e5

Please sign in to comment.