aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-14 16:20:00 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-14 16:20:00 +0200
commitfb94ced40df8dfd14c16d7138c345419c8c011ed (patch)
tree73b77c5aafeea4a36a4a9b56777116429615b155
parent656650a47e2094e800929bb4ba156d8a752da8cf (diff)
downloadskyhanni-fb94ced40df8dfd14c16d7138c345419c8c011ed.tar.gz
skyhanni-fb94ced40df8dfd14c16d7138c345419c8c011ed.tar.bz2
skyhanni-fb94ced40df8dfd14c16d7138c345419c8c011ed.zip
more typo fixes, more dictionary words
-rw-r--r--.idea/dictionaries/default_user.xml7
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt14
2 files changed, 14 insertions, 7 deletions
diff --git a/.idea/dictionaries/default_user.xml b/.idea/dictionaries/default_user.xml
index 73944464b..5a94cb662 100644
--- a/.idea/dictionaries/default_user.xml
+++ b/.idea/dictionaries/default_user.xml
@@ -45,8 +45,10 @@
<w>despawn</w>
<w>dicer</w>
<w>disintegrator</w>
+ <w>disintegrators</w>
<w>dragontail</w>
<w>dreadfarm</w>
+ <w>dreadlord</w>
<w>dungeoneering</w>
<w>dwarven</w>
<w>egglocator</w>
@@ -69,6 +71,7 @@
<w>goldor</w>
<w>gratitudes</w>
<w>hatcessory</w>
+ <w>hecatomb</w>
<w>hideparticles</w>
<w>hoppity</w>
<w>hoppity's</w>
@@ -76,6 +79,7 @@
<w>hotbar</w>
<w>hotm</w>
<w>hoverable</w>
+ <w>hpb's</w>
<w>hypixel</w>
<w>hypixel's</w>
<w>ichor</w>
@@ -147,6 +151,8 @@
<w>pyrochaos</w>
<w>quazii</w>
<w>rclick</w>
+ <w>recombobulated</w>
+ <w>recombobulator</w>
<w>redstone</w>
<w>reindrake</w>
<w>renderable</w>
@@ -180,6 +186,7 @@
<w>soulweaver</w>
<w>sprayonator</w>
<w>stillgore</w>
+ <w>stonk</w>
<w>superboom</w>
<w>supercraft</w>
<w>supercrafting</w>
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt
index 789fc30eb..e1619ad92 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt
@@ -62,7 +62,7 @@ object EstimatedItemValueCalculator {
::addReforgeStone,
// once
- ::addRecomb,
+ ::addRecombobulator,
::addArtOfWar,
::addArtOfPeace,
::addEtherwarp,
@@ -269,7 +269,7 @@ object EstimatedItemValueCalculator {
}
}
- private fun addRecomb(stack: ItemStack, list: MutableList<String>): Double {
+ private fun addRecombobulator(stack: ItemStack, list: MutableList<String>): Double {
if (!stack.isRecombobulated()) return 0.0
val price = "RECOMBOBULATOR_3000".asInternalName().getPrice()
@@ -365,8 +365,8 @@ object EstimatedItemValueCalculator {
private fun addPolarvoidBook(stack: ItemStack, list: MutableList<String>): Double {
val count = stack.getPolarvoidBookCount() ?: return 0.0
- val broDilloMiningSoBad = "POLARVOID_BOOK".asInternalName()
- val price = broDilloMiningSoBad.getPrice() * count
+ val polarvoidBook = "POLARVOID_BOOK".asInternalName()
+ val price = polarvoidBook.getPrice() * count
list.add("§7Polarvoid: §e$count§7/§e5 §7(§6" + price.shortFormat() + "§7)")
return price
}
@@ -480,9 +480,9 @@ object EstimatedItemValueCalculator {
): Double {
val price = internalName.getPrice()
val name = internalName.getNameOrRepoError()
- val displayname = name ?: "§c${internalName.asString()}"
+ val displayName = name ?: "§c${internalName.asString()}"
val color = if (shouldIgnorePrice) "§7" else "§6"
- list.add("§7$label: $displayname §7($color" + price.shortFormat() + "§7)")
+ list.add("§7$label: $displayName §7($color" + price.shortFormat() + "§7)")
if (name == null) {
list.add(" §8(Not yet in NEU Repo)")
}
@@ -680,7 +680,7 @@ object EstimatedItemValueCalculator {
val unlockedSlots =
stack.getExtraAttributes()?.getCompoundTag("gems")?.getTag("unlocked_slots")?.toString() ?: return 0.0
- // TODO detection for old items which doesnt have gems.unlocked_slots NBT array
+ // TODO detection for old items which doesn't have gems.unlocked_slots NBT array
// if (unlockedSlots == "null") return 0.0
val priceMap = mutableMapOf<String, Double>()