From 08a857ae8d599fcc9206420cc14c164289ce1297 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Tue, 12 Jul 2022 00:36:02 +0200 Subject: add dungeon milestone display --- src/main/java/at/lorenz/mod/config/Features.java | 26 ++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'src/main/java/at/lorenz/mod/config') 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,21 +126,30 @@ 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 -- cgit