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/main/java/at/hannibal2/skyhanni/features | |
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/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt | 8 |
1 files changed, 4 insertions, 4 deletions
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") |