From 045c39701411b5c9a5ffcbffb45ce34c09f1c2c6 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Thu, 13 Jun 2024 20:14:16 +0200 Subject: Feature: Total Powder Cost in Perk Lore (#1460) Co-authored-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Co-authored-by: Empa <42304516+ItsEmpa@users.noreply.github.com> Co-authored-by: martimavocado <39881008+martimavocado@users.noreply.github.com> Co-authored-by: Thunderblade73 Co-authored-by: Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> Co-authored-by: martimavocado Co-authored-by: Cal Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/config/features/mining/HotmConfig.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/HotmConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/HotmConfig.java index cbe7d0be0..3f6ef33db 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/HotmConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/HotmConfig.java @@ -1,9 +1,12 @@ package at.hannibal2.skyhanni.config.features.mining; import at.hannibal2.skyhanni.config.FeatureToggle; +import at.hannibal2.skyhanni.features.mining.PowderPerHotmPerk.PowderSpentDesign; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; +import org.jetbrains.annotations.NotNull; public class HotmConfig { @@ -24,4 +27,21 @@ public class HotmConfig { @ConfigEditorBoolean @FeatureToggle public boolean tokenStackSize = true; + + @Expose + @ConfigOption(name = "Powder Spent", desc = "Shows the amount of powder spent on a perk.") + @ConfigEditorBoolean + @FeatureToggle + public boolean powderSpent = true; + + @Expose + @ConfigOption(name = "Powder Spent Design", desc = "Changes the design of the powder spent display.") + @ConfigEditorDropdown + public @NotNull PowderSpentDesign powderSpentDesign = PowderSpentDesign.NUMBER_AND_PERCENTAGE; + + @Expose + @ConfigOption(name = "Powder for 10 Levels", desc = "Shows the amount of powder needed to level a perk 10 times when pressing shift.") + @ConfigEditorBoolean + @FeatureToggle + public boolean powderFor10Levels = true; } -- cgit