diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-01-02 01:04:43 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 15:04:43 +0100 |
commit | c8270df4079f4adf3a24abbdbb318d24bab21fec (patch) | |
tree | b058bec2b3da9085d30c6443153c88db5d649952 | |
parent | 9ed29514ac55f613323ee623765b02ddd5d59fdd (diff) | |
download | skyhanni-c8270df4079f4adf3a24abbdbb318d24bab21fec.tar.gz skyhanni-c8270df4079f4adf3a24abbdbb318d24bab21fec.tar.bz2 skyhanni-c8270df4079f4adf3a24abbdbb318d24bab21fec.zip |
Remove flawless (#856)
Removed flawless gemstones from sack display. #856
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt | 8 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt | 6 |
2 files changed, 3 insertions, 11 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt index e2ce24672..454074d3d 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt @@ -141,12 +141,6 @@ object SackAPI { gem.finePrice = internalName.sackPrice(stored) if (savingSacks) setSackItem(internalName, stored.formatNumber()) } - - "Flawless" -> { - gem.flawless = stored - gem.flawlessPrice = internalName.sackPrice(stored) - if (savingSacks) setSackItem(internalName, stored.formatNumber()) - } } gemstoneItem[name] = gem } @@ -310,11 +304,9 @@ object SackAPI { var rough: String = "0", var flawed: String = "0", var fine: String = "0", - var flawless: String = "0", var roughPrice: Long = 0, var flawedPrice: Long = 0, var finePrice: Long = 0, - var flawlessPrice: Long = 0, ) data class SackRune( diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt index 510b62dd1..3c90ee398 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/SackDisplay.kt @@ -194,15 +194,15 @@ object SackDisplay { if (SackAPI.gemstoneItem.isNotEmpty()) { newDisplay.addAsSingletonList("§7Gemstones:") for ((name, gem) in SackAPI.gemstoneItem) { - val (internalName, rough, flawed, fine, flawless, roughprice, flawedprice, fineprice, flawlessprice) = gem + val (internalName, rough, flawed, fine, roughprice, flawedprice, fineprice) = gem newDisplay.add(buildList { add(" §7- ") add(internalName.getItemStack()) add(Renderable.optionalLink("$name: ", { BazaarApi.searchForBazaarItem(name.dropLast(1)) }) { !NEUItems.neuHasFocus() }) - add(" ($rough-§a$flawed-§9$fine-§5$flawless)") - val price = roughprice + flawedprice + fineprice + flawlessprice + add(" ($rough-§a$flawed-§9$fine)") + val price = roughprice + flawedprice + fineprice totalPrice += price if (config.showPrice && price != 0L) add(" §7(§6${format(price)}§7)") }) |