aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt
index b3605094a..98f903468 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt
@@ -11,8 +11,10 @@ class NEUInternalName private constructor(private val internalName: String) {
val NONE = "NONE".asInternalName()
val MISSING_ITEM = "MISSING_ITEM".asInternalName()
- val WISP_POTION = "WISP_POTION".asInternalName()
+ val JASPER_CRYSTAL = "JASPER_CRYSTAL".asInternalName()
+ val RUBY_CRYSTAL = "RUBY_CRYSTAL".asInternalName()
val SKYBLOCK_COIN = "SKYBLOCK_COIN".asInternalName()
+ val WISP_POTION = "WISP_POTION".asInternalName()
fun String.asInternalName(): NEUInternalName {
val internalName = uppercase().replace(" ", "_")
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
index 217d681c3..35992a15e 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
@@ -182,8 +182,10 @@ object NEUItems {
pastRecipes: List<NeuRecipe> = emptyList(),
): Double? {
when (this) {
- NEUInternalName.WISP_POTION -> return 20_000.0
+ NEUInternalName.JASPER_CRYSTAL -> return 0.0
+ NEUInternalName.RUBY_CRYSTAL -> return 0.0
NEUInternalName.SKYBLOCK_COIN -> return 1.0
+ NEUInternalName.WISP_POTION -> return 20_000.0
}
if (priceSource != ItemPriceSource.NPC_SELL) {