diff options
| author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-12 00:36:02 +0200 |
|---|---|---|
| committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-12 00:36:02 +0200 |
| commit | a3f95ebb57a5ea181f7e6f24083274781e7c1159 (patch) | |
| tree | c58fc76144f149b788e36805fc24de8f435f6d91 /src/main/java/at/lorenz/mod/config/Features.java | |
| parent | cd047994040b4713460ecb95c9c6d5e49e11d0d3 (diff) | |
| download | SkyHanni-a3f95ebb57a5ea181f7e6f24083274781e7c1159.tar.gz SkyHanni-a3f95ebb57a5ea181f7e6f24083274781e7c1159.tar.bz2 SkyHanni-a3f95ebb57a5ea181f7e6f24083274781e7c1159.zip | |
add dungeon milestone display
Diffstat (limited to 'src/main/java/at/lorenz/mod/config/Features.java')
| -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) |
