diff options
author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-12 00:36:02 +0200 |
---|---|---|
committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-12 00:36:02 +0200 |
commit | 08a857ae8d599fcc9206420cc14c164289ce1297 (patch) | |
tree | c58fc76144f149b788e36805fc24de8f435f6d91 /src/main/java/at/lorenz/mod/config | |
parent | f620d3490173ae815b46ee79398e5cbc36114c2b (diff) | |
download | skyhanni-08a857ae8d599fcc9206420cc14c164289ce1297.tar.gz skyhanni-08a857ae8d599fcc9206420cc14c164289ce1297.tar.bz2 skyhanni-08a857ae8d599fcc9206420cc14c164289ce1297.zip |
add dungeon milestone display
Diffstat (limited to 'src/main/java/at/lorenz/mod/config')
-rw-r--r-- | src/main/java/at/lorenz/mod/config/Features.java | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/src/main/java/at/lorenz/mod/config/Features.java b/src/main/java/at/lorenz/mod/config/Features.java index e70c8203d..cf386accc 100644 --- a/src/main/java/at/lorenz/mod/config/Features.java +++ b/src/main/java/at/lorenz/mod/config/Features.java @@ -35,6 +35,11 @@ public class Features { editOverlay(activeConfigCategory, 200, 16, debug.testPos); return; } + + if (runnableId.equals("dungeonMilestoneDisplay")) { + editOverlay(activeConfigCategory, 200, 16, dungeon.milestoneDisplayPos); + return; + } } @Expose @@ -121,22 +126,31 @@ public class Features { @ConfigOption(name = "Boss Damage Indicator", desc = "Shows the missing health of a boss in the dungeon and the cooldown time until the boss becomes attackable.") @ConfigEditorBoolean public boolean bossDamageIndicator = false; - } - public static class Items { + @Expose + @ConfigOption(name = "Milestone Display", desc = "Shows the current milestone inside Dungeons.") + @ConfigEditorBoolean + public boolean showMilestoneDisplay = false; @Expose - @ConfigOption(name = "Item Number as Stack", desc = "") - @ConfigEditorAccordion(id = 2) - public boolean filterTypes = false; + @ConfigOption(name = "Milestone Display Position", desc = "") + @ConfigEditorButton(runnableId = "dungeonMilestoneDisplay", buttonText = "Edit") + public Position milestoneDisplayPos = new Position(10, 10, false, true); + } + + public static class Items { @Expose @ConfigOption(name = "Not Clickable Items", desc = "Hide items that are not clickable in " + "the current inventory: ah, bz, accessory bag, etc") @ConfigEditorBoolean - @ConfigAccordionId(id = 2) public boolean hideNotClickableItems = false; @Expose + @ConfigOption(name = "Item Number as Stack", desc = "") + @ConfigEditorAccordion(id = 2) + public boolean filterTypes = false; + + @Expose @ConfigOption(name = "Master Star Number", desc = "Shows the Tier of the Master Star.") @ConfigEditorBoolean @ConfigAccordionId(id = 2) |