From 61f1122c93e9baa17c048c5e94ce32ddee22c03b Mon Sep 17 00:00:00 2001 From: Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> Date: Thu, 28 Sep 2023 08:29:05 +0200 Subject: Change: Croesus Chest Tracker can now determine chest that only can be open with a dungeon key (#507) Croesus chest highlight uses different colors for Kismet only chests. #507 --- CHANGELOG.md | 1 + .../skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b803fe6e..53726028b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -175,6 +175,7 @@ + Improved performance of item ability cooldown and farming fortune display data. - Cad + The item flickering for ability cooldown background should be less/gone completely. + Added the ability to bypass not clickable items when holding the control key. - CalMWolfs ++ Croesus Chest Tracker can now determine chest that only can be open with a dungeon key - Thunderblade73 ### Fixes diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt index c27b1a447..5224edd79 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt @@ -25,7 +25,11 @@ class CroesusUnopenedChestTracker { val lore = stack.getLore() if ("§eClick to view chests!" in lore) { if ("§aNo more Chests to open!" !in lore) { - slot highlight LorenzColor.DARK_PURPLE + slot highlight if (lore.any { it.contains("Opened Chest") }) { + LorenzColor.DARK_AQUA + } else { + LorenzColor.DARK_PURPLE + } } } } -- cgit