aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/HotmConfig.java27
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java23
3 files changed, 54 insertions, 0 deletions
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
new file mode 100644
index 000000000..cbe7d0be0
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/HotmConfig.java
@@ -0,0 +1,27 @@
+package at.hannibal2.skyhanni.config.features.mining;
+
+import at.hannibal2.skyhanni.config.FeatureToggle;
+import com.google.gson.annotations.Expose;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+
+public class HotmConfig {
+
+ @Expose
+ @ConfigOption(name = "Enabled Highlight", desc = "Highlights enabled perks in the hotm tree green and disabled red. Not unlocked perks are highlighted gray.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean highlightEnabledPerks = true;
+
+ @Expose
+ @ConfigOption(name = "Level Stack", desc = "Shows the level of a perk as item stacks.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean levelStackSize = true;
+
+ @Expose
+ @ConfigOption(name = "Token Stack", desc = "Shows unused tokens on the heart.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean tokenStackSize = true;
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java
index 9c4af3882..05ad3fb27 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java
@@ -14,6 +14,10 @@ public class MiningConfig {
public MiningEventConfig miningEvent = new MiningEventConfig();
@Expose
+ @Category(name = "HotM", desc = "Settings for Heart of the Mountain")
+ public HotmConfig hotm = new HotmConfig();
+
+ @Expose
@ConfigOption(name = "Powder Tracker", desc = "")
@Accordion
public PowderTrackerConfig powderTracker = new PowderTrackerConfig();
diff --git a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
index 747d5c116..d73e707ab 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
@@ -1,8 +1,10 @@
package at.hannibal2.skyhanni.config.storage;
+import at.hannibal2.skyhanni.api.HotmAPI;
import at.hannibal2.skyhanni.api.SkillAPI;
import at.hannibal2.skyhanni.data.IslandType;
import at.hannibal2.skyhanni.data.MaxwellAPI;
+import at.hannibal2.skyhanni.data.jsonobjects.local.HotmTree;
import at.hannibal2.skyhanni.data.model.ComposterUpgrade;
import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNodeTracker;
import at.hannibal2.skyhanni.features.combat.ghostcounter.GhostData;
@@ -490,6 +492,27 @@ public class ProfileSpecificStorage {
@Expose
public ExcavatorProfitTracker.Data fossilExcavatorProfitTracker = new ExcavatorProfitTracker.Data();
+
+ @Expose
+ public HotmTree hotmTree = new HotmTree();
+
+ @Expose
+ public Map<HotmAPI.Powder, PowderStorage> powder = new HashMap<>();
+
+ public static class PowderStorage {
+
+ @Expose
+ public Long available;
+
+ @Expose
+ public Long total;
+ }
+
+ @Expose
+ public int tokens;
+
+ @Expose
+ public int availableTokens;
}
@Expose