aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorminhperry <46137516+minhperry@users.noreply.github.com>2024-09-07 19:59:24 +0200
committerGitHub <noreply@github.com>2024-09-07 19:59:24 +0200
commit4663ebc4c9d5ef6ed890eced49d90dd8e3589fb5 (patch)
treec080b21715624afebc1b9f0dc046b28ad75007d1 /src/main/java/at/hannibal2/skyhanni/config
parentb6593fcd09be501ededdd795fbdf5a78c1967c8e (diff)
downloadskyhanni-4663ebc4c9d5ef6ed890eced49d90dd8e3589fb5.tar.gz
skyhanni-4663ebc4c9d5ef6ed890eced49d90dd8e3589fb5.tar.bz2
skyhanni-4663ebc4c9d5ef6ed890eced49d90dd8e3589fb5.zip
Feature: Accessory MP as stack size (#2243)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/inventory/MagicalPowerConfig.java19
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java3
3 files changed, 27 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java
index f66f784c2..6c43591a5 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java
@@ -119,6 +119,11 @@ public class InventoryConfig {
public PageScrollingConfig pageScrolling = new PageScrollingConfig();
@Expose
+ @ConfigOption(name = "Magical Power Display", desc = "")
+ @Accordion
+ public MagicalPowerConfig magicalPower = new MagicalPowerConfig();
+
+ @Expose
@ConfigOption(name = "Item Number", desc = "Showing the item number as a stack size for these items.")
@ConfigEditorDraggableList
public List<ItemNumberEntry> itemNumberAsStackSize = new ArrayList<>(Arrays.asList(
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/MagicalPowerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/MagicalPowerConfig.java
new file mode 100644
index 000000000..ef6b76da3
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/MagicalPowerConfig.java
@@ -0,0 +1,19 @@
+package at.hannibal2.skyhanni.config.features.inventory;
+
+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 MagicalPowerConfig {
+ @Expose
+ @ConfigOption(name = "Magical Power Display", desc = "Show Magical Power as stack size inside Accessory Bag and Auction House.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean enabled = false;
+
+ @Expose
+ @ConfigOption(name = "Colored", desc = "Whether to make the numbers colored.")
+ @ConfigEditorBoolean
+ public boolean colored = false;
+}
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 51be4daf1..e7a7565bb 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
@@ -670,6 +670,9 @@ public class ProfileSpecificStorage {
public UpgradeReminder.CommunityShopUpgrade communityShopProfileUpgrade = null;
@Expose
+ @Nullable
+ public Integer abiphoneContactAmount = null;
+
public Map<Integer, HoppityEventStats> hoppityEventStats = new HashMap<>();
public static class HoppityEventStats {