aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/config
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-12 12:35:19 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-12 12:35:19 +0200
commitafdba2c6a3b27a53817cef0b0a306c05162fbcac (patch)
tree4dfeeac095fc394cdc4114a29cc3a0dbf0f65023 /src/main/java/at/lorenz/mod/config
parent08a857ae8d599fcc9206420cc14c164289ce1297 (diff)
downloadskyhanni-afdba2c6a3b27a53817cef0b0a306c05162fbcac.tar.gz
skyhanni-afdba2c6a3b27a53817cef0b0a306c05162fbcac.tar.bz2
skyhanni-afdba2c6a3b27a53817cef0b0a306c05162fbcac.zip
add dungeon death counter display
Diffstat (limited to 'src/main/java/at/lorenz/mod/config')
-rw-r--r--src/main/java/at/lorenz/mod/config/Features.java19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/main/java/at/lorenz/mod/config/Features.java b/src/main/java/at/lorenz/mod/config/Features.java
index cf386accc..109258420 100644
--- a/src/main/java/at/lorenz/mod/config/Features.java
+++ b/src/main/java/at/lorenz/mod/config/Features.java
@@ -40,6 +40,11 @@ public class Features {
editOverlay(activeConfigCategory, 200, 16, dungeon.milestoneDisplayPos);
return;
}
+
+ if (runnableId.equals("dungeonDeathCounter")) {
+ editOverlay(activeConfigCategory, 200, 16, dungeon.deathCounterDisplay);
+ return;
+ }
}
@Expose
@@ -123,12 +128,12 @@ public class Features {
public boolean highlightClickedBlocks = false;
@Expose
- @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.")
+ @ConfigOption(name = "Boss Damage Indicator", desc = "Show the missing health of a boss in the dungeon and the cooldown time until the boss becomes attackable.")
@ConfigEditorBoolean
public boolean bossDamageIndicator = false;
@Expose
- @ConfigOption(name = "Milestone Display", desc = "Shows the current milestone inside Dungeons.")
+ @ConfigOption(name = "Milestone Display", desc = "Show the current milestone inside Dungeons.")
@ConfigEditorBoolean
public boolean showMilestoneDisplay = false;
@@ -136,6 +141,16 @@ public class Features {
@ConfigOption(name = "Milestone Display Position", desc = "")
@ConfigEditorButton(runnableId = "dungeonMilestoneDisplay", buttonText = "Edit")
public Position milestoneDisplayPos = new Position(10, 10, false, true);
+
+ @Expose
+ @ConfigOption(name = "Death Counter", desc = "Display the total amount of deaths in the current dungeon.")
+ @ConfigEditorBoolean
+ public boolean deathCounter = false;
+
+ @Expose
+ @ConfigOption(name = "Death Counter Position", desc = "")
+ @ConfigEditorButton(runnableId = "dungeonDeathCounter", buttonText = "Edit")
+ public Position deathCounterDisplay = new Position(10, 10, false, true);
}
public static class Items {