aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2023-09-28 08:29:05 +0200
committerGitHub <noreply@github.com>2023-09-28 08:29:05 +0200
commit61f1122c93e9baa17c048c5e94ce32ddee22c03b (patch)
treefe8fdcb59c8a37f9957502167f3d8aadee6c04ae
parentf34defd6c42f762ce8eaf753998139e8b2714b0e (diff)
downloadskyhanni-61f1122c93e9baa17c048c5e94ce32ddee22c03b.tar.gz
skyhanni-61f1122c93e9baa17c048c5e94ce32ddee22c03b.tar.bz2
skyhanni-61f1122c93e9baa17c048c5e94ce32ddee22c03b.zip
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
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt6
2 files changed, 6 insertions, 1 deletions
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
+ }
}
}
}