aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
authorNatalia Spence <52349324+Septikai@users.noreply.github.com>2025-11-24 12:53:29 +0000
committerLinnea Gräf <nea@nea.moe>2025-11-30 11:48:49 +0100
commit9e0b9393f696d2643a1353209bbc2923d11b5c6f (patch)
tree9cf7bd344a541235e96d51ce8a7512a96ba644f7 /src/main/kotlin
parentd24b2b8398c862cab63d3dad736bc16ceb0961df (diff)
downloadFirmament-9e0b9393f696d2643a1353209bbc2923d11b5c6f.tar.gz
Firmament-9e0b9393f696d2643a1353209bbc2923d11b5c6f.tar.bz2
Firmament-9e0b9393f696d2643a1353209bbc2923d11b5c6f.zip
fix: add support for archaic and deific spades
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/features/diana/AncestralSpadeSolver.kt6
-rw-r--r--src/main/kotlin/util/skyblock/SkyBlockItems.kt2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/main/kotlin/features/diana/AncestralSpadeSolver.kt b/src/main/kotlin/features/diana/AncestralSpadeSolver.kt
index 72806c9..c12a2c6 100644
--- a/src/main/kotlin/features/diana/AncestralSpadeSolver.kt
+++ b/src/main/kotlin/features/diana/AncestralSpadeSolver.kt
@@ -32,7 +32,11 @@ object AncestralSpadeSolver {
fun isEnabled() =
DianaWaypoints.TConfig.ancestralSpadeSolver
&& SBData.skyblockLocation == SkyBlockIsland.HUB
- && MC.player?.inventory?.hasAnyMatching { it.skyBlockId == SkyBlockItems.ANCESTRAL_SPADE } == true // TODO: add a reactive property here
+ && MC.player?.inventory?.hasAnyMatching {
+ it.skyBlockId == SkyBlockItems.ANCESTRAL_SPADE ||
+ it.skyBlockId == SkyBlockItems.ARCHAIC_SPADE ||
+ it.skyBlockId == SkyBlockItems.DEIFIC_SPADE
+ } == true // TODO: add a reactive property here
@Subscribe
fun onKeyBind(event: WorldKeyboardEvent) {
diff --git a/src/main/kotlin/util/skyblock/SkyBlockItems.kt b/src/main/kotlin/util/skyblock/SkyBlockItems.kt
index 785866e..5f4acd4 100644
--- a/src/main/kotlin/util/skyblock/SkyBlockItems.kt
+++ b/src/main/kotlin/util/skyblock/SkyBlockItems.kt
@@ -8,6 +8,8 @@ object SkyBlockItems {
val ENCHANTED_DIAMOND = SkyblockId("ENCHANTED_DIAMOND")
val DIAMOND = SkyblockId("DIAMOND")
val ANCESTRAL_SPADE = SkyblockId("ANCESTRAL_SPADE")
+ val ARCHAIC_SPADE = SkyblockId("ARCHAIC_SPADE")
+ val DEIFIC_SPADE = SkyblockId("DEIFIC_SPADE")
val REFORGE_ANVIL = SkyblockId("REFORGE_ANVIL")
val SLICE_OF_BLUEBERRY_CAKE = SkyblockId("SLICE_OF_BLUEBERRY_CAKE")
val SLICE_OF_CHEESECAKE = SkyblockId("SLICE_OF_CHEESECAKE")