diff options
author | minhperry <46137516+minhperry@users.noreply.github.com> | 2024-09-07 19:59:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-07 19:59:24 +0200 |
commit | 4663ebc4c9d5ef6ed890eced49d90dd8e3589fb5 (patch) | |
tree | c080b21715624afebc1b9f0dc046b28ad75007d1 /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | b6593fcd09be501ededdd795fbdf5a78c1967c8e (diff) | |
download | skyhanni-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/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java | 5 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/inventory/MagicalPowerConfig.java | 19 |
2 files changed, 24 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; +} |