diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-10 15:03:00 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-10 15:03:00 +0200 |
commit | 75f233e2f7042e361c4029d8cf704c51685e217c (patch) | |
tree | 43e2b6103b7c62f2e0b715e74c28bb4f102628f3 /src | |
parent | 8007c4a51a2b45aef20ba07cd2b3041e132fc691 (diff) | |
download | skyhanni-75f233e2f7042e361c4029d8cf704c51685e217c.tar.gz skyhanni-75f233e2f7042e361c4029d8cf704c51685e217c.tar.bz2 skyhanni-75f233e2f7042e361c4029d8cf704c51685e217c.zip |
changed default settings and internal names
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java b/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java index 0f69f6a20..424c478ba 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Slayer.java @@ -107,7 +107,7 @@ public class Slayer { @Expose @ConfigOption(name = "Show Price From", desc = "Show price from Bazaar or NPC.") @ConfigEditorDropdown(values = {"Instant Sell", "Sell Offer", "NPC"}) - public int priceFrom = 0; + public int priceFrom = 1; @Expose @ConfigOption(name = "Minimum Price", desc = "Items below this price will not show up in chat.") diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt index 129eba0eb..4d3c99ece 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt @@ -105,7 +105,7 @@ object CropMoneyDisplay { return newDisplay } - var extraNetherWartPrices = 0.0 + var extraMushroomCowPerk = 0.0 GardenAPI.getCurrentlyFarmedCrop()?.let { val reforgeName = InventoryUtils.getItemInHand()?.getReforgeName() toolHasBountiful?.put(it, reforgeName == "bountiful") @@ -115,7 +115,7 @@ object CropMoneyDisplay { val brownPrice = NEUItems.getPrice("ENCHANTED_BROWN_MUSHROOM") / 160 val mushroomPrice = (redPrice + brownPrice) / 2 val perSecond = 20.0 * it.multiplier * mushroomPrice - extraNetherWartPrices = perSecond * 60 * 60 + extraMushroomCowPerk = perSecond * 60 * 60 } } @@ -176,11 +176,11 @@ object CropMoneyDisplay { val moneyArray = moneyPerHourData[internalName]!! for (price in moneyArray) { - val finalPrice = price + extraNetherWartPrices + val finalPrice = price + extraMushroomCowPerk val format = format(finalPrice) if (debug) { newDisplay.addAsSingletonList(" price: ${price.addSeparators()}") - newDisplay.addAsSingletonList(" extraNetherWartPrices: ${extraNetherWartPrices.addSeparators()}") + newDisplay.addAsSingletonList(" extraMushroomCowPerk: ${extraMushroomCowPerk.addSeparators()}") newDisplay.addAsSingletonList(" finalPrice: ${finalPrice.addSeparators()}") } list.add("$coinsColor$format") |