aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Mining.java
diff options
context:
space:
mode:
authorKingsMMA <63374258+KingsMMA@users.noreply.github.com>2022-10-22 00:31:07 +1000
committerGitHub <noreply@github.com>2022-10-21 07:31:07 -0700
commit72adbc192fc53cd90408f4382b66310d77e2be2a (patch)
tree9f693b1c2828ee0a68a5107ff42478f93d57611a /src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Mining.java
parent78714fc2fddb99ba9f1239d7d0d95837a312cbb8 (diff)
downloadnotenoughupdates-72adbc192fc53cd90408f4382b66310d77e2be2a.tar.gz
notenoughupdates-72adbc192fc53cd90408f4382b66310d77e2be2a.tar.bz2
notenoughupdates-72adbc192fc53cd90408f4382b66310d77e2be2a.zip
Added Powder Grinding Tracker (#263)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Mining.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Mining.java75
1 files changed, 74 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Mining.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Mining.java
index 727ad329..2568653d 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Mining.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Mining.java
@@ -156,7 +156,7 @@ public class Mining {
@Expose
@ConfigOption(
name = "Edit Dwarven Overlay Position",
- desc = "Change the position of the Dwarven Mines information Overlay (commisions, powder & forge statuses)"
+ desc = "Change the position of the Dwarven Mines information Overlay (commissions, powder & forge statuses)"
)
@ConfigEditorButton(
runnableId = 1,
@@ -713,6 +713,79 @@ public class Mining {
)
public int wishingCompassWaypointNames = 0;
+ @ConfigOption(
+ name = "Powder Grinding Tracker",
+ desc = ""
+ )
+ @ConfigEditorAccordion(id = 9)
+ public boolean powderGrindingTrackerAccordion = false;
+
+
+ @Expose
+ @ConfigOption(
+ name = "Enable Tracker",
+ desc = "Show an Overlay with useful information related to Power Grinding"
+ )
+ @ConfigAccordionId(id = 9)
+ @ConfigEditorBoolean
+ public boolean powderGrindingTrackerEnabled = false;
+
+ @Expose
+ @ConfigOption(
+ name = "Tracker Text",
+ desc = "\u00a7eDrag text to change the appearance of the Overlay\n" +
+ "\u00a7rGo to the Crystal Hollows to show this Overlay with useful information"
+ )
+ @ConfigEditorDraggableList(
+ exampleText = {
+ "\u00a73Chests Found: \u00a7a13",
+ "\u00a73Opened Chests: \u00a7a11",
+ "\u00a73Unopened Chests: \u00a7c2",
+ "\u00a73Mithril Powder Found: \u00a726,243",
+ "\u00a73Average Mithril Powder/Chest: \u00a72568",
+ "\u00a73Gemstone Powder Found: \u00a7d6,243",
+ "\u00a73Average Gemstone Powder/Chest: \u00a7d568"
+ }
+ )
+ @ConfigAccordionId(id = 9)
+ public List<Integer> powderGrindingTrackerText = new ArrayList<>(Arrays.asList(0, 1, 2, 3, 4, 5, 6));
+
+ @Expose
+ @ConfigOption(
+ name = "Edit Tracker Position",
+ desc = "Change the position of the Powder Grinding Tracker Overlay (chests and gained powder)"
+ )
+ @ConfigEditorButton(
+ runnableId = 25,
+ buttonText = "Edit"
+ )
+ @ConfigAccordionId(id = 9)
+ public Position powderGrindingTrackerPosition = new Position(10, 265);
+
+ @Expose
+ @ConfigOption(
+ name = "Tracker Reset Mode",
+ desc = "When the Powder Grinding Tracker should be reset"
+ )
+ @ConfigEditorDropdown(
+ values = {"On World Change", "On Restart", "Never"},
+ initialIndex = 2
+ )
+ @ConfigAccordionId(id = 9)
+ public int powderGrindingTrackerResetMode = 2;
+
+ @Expose
+ @ConfigOption(
+ name = "Reset Tracker",
+ desc = "Reset all stats for Powder Grinding Tracker"
+ )
+ @ConfigEditorButton(
+ runnableId = 26,
+ buttonText = "Reset"
+ )
+ @ConfigAccordionId(id = 9)
+ public int resetPowderGrindingTracker = 0;
+
@Expose
@ConfigOption(
name = "Puzzler Solver",