diff --git a/assets/items/misc_greater_healing_potion.png b/assets/items/misc_greater_healing_potion.png new file mode 100644 index 0000000..9aa56fa Binary files /dev/null and b/assets/items/misc_greater_healing_potion.png differ diff --git a/assets/items/misc_greater_mana_potion.png b/assets/items/misc_greater_mana_potion.png new file mode 100644 index 0000000..f3ebadd Binary files /dev/null and b/assets/items/misc_greater_mana_potion.png differ diff --git a/assets/templates/greater_healing_potion.png b/assets/templates/greater_healing_potion.png new file mode 100644 index 0000000..20ee476 Binary files /dev/null and b/assets/templates/greater_healing_potion.png differ diff --git a/assets/templates/greater_mana_potion.png b/assets/templates/greater_mana_potion.png new file mode 100644 index 0000000..73c931d Binary files /dev/null and b/assets/templates/greater_mana_potion.png differ diff --git a/config/pickit.ini b/config/pickit.ini index c0ca3cb..3ab9c79 100644 --- a/config/pickit.ini +++ b/config/pickit.ini @@ -13,6 +13,8 @@ misc_rejuvenation_potion=0 misc_full_rejuvenation_potion=1 misc_super_healing_potion=1 misc_super_mana_potion=1 +misc_greater_healing_potion=0 +misc_greater_mana_potion=0 ;other misc_tp_scroll=0 diff --git a/src/ui/belt_manager.py b/src/ui/belt_manager.py index 31b063f..33962ad 100644 --- a/src/ui/belt_manager.py +++ b/src/ui/belt_manager.py @@ -24,7 +24,9 @@ class BeltManager: "misc_rejuvenation_potion": "rejuv", "misc_full_rejuvenation_potion": "rejuv", "misc_super_healing_potion": "health", - "misc_super_mana_potion": "mana" + "misc_greater_healing_potion": "health", + "misc_super_mana_potion": "mana", + "misc_greater_mana_potion": "mana" } def get_pot_needs(self): @@ -160,7 +162,7 @@ class BeltManager: pot_positions = [] for column, row in itertools.product(range(num_loot_columns), range(4)): center_pos, slot_img = UiManager.get_slot_pos_and_img(self._config, img, column, row) - found = self._template_finder.search(["SUPER_HEALING_POTION", "SUPER_MANA_POTION", "FULL_REJUV_POTION", "REJUV_POTION"], slot_img, threshold=0.9).valid + found = self._template_finder.search(["GREATER_HEALING_POTION", "GREATER_MANA_POTION", "SUPER_HEALING_POTION", "SUPER_MANA_POTION", "FULL_REJUV_POTION", "REJUV_POTION"], slot_img, threshold=0.9).valid if found: pot_positions.append(center_pos) keyboard.press("shift")