aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-05-08 21:13:21 +0200
committerGitHub <noreply@github.com>2024-05-08 21:13:21 +0200
commit2d9844426886cd488703d05ee58558e05d4c3987 (patch)
tree8315b3b17945ff965af8a3aa8380458f39313fb0 /src/main/java/at/hannibal2/skyhanni/config
parent64ffd48ac791019ce4e4a610541b143a4c9d9b44 (diff)
downloadskyhanni-2d9844426886cd488703d05ee58558e05d4c3987.tar.gz
skyhanni-2d9844426886cd488703d05ee58558e05d4c3987.tar.bz2
skyhanni-2d9844426886cd488703d05ee58558e05d4c3987.zip
Feature: Profit per corpse loot (#1734)
Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/FossilExcavatorConfig.java4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/MineshaftConfig.java18
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java5
3 files changed, 25 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/FossilExcavatorConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/FossilExcavatorConfig.java
index c8eddb165..9252c45f9 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/FossilExcavatorConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/FossilExcavatorConfig.java
@@ -20,8 +20,8 @@ public class FossilExcavatorConfig {
@Expose
@ConfigOption(
- name = "Profit Per",
- desc = "Show profit/loss in chat after each excavation. Also include breakdown information on hover."
+ name = "Profit Per Excavation",
+ desc = "Show profit/loss in chat after each excavation. Also includes breakdown information on hover."
)
@ConfigEditorBoolean
@FeatureToggle
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MineshaftConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MineshaftConfig.java
new file mode 100644
index 000000000..c0a6e3e50
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MineshaftConfig.java
@@ -0,0 +1,18 @@
+package at.hannibal2.skyhanni.config.features.mining;
+
+import at.hannibal2.skyhanni.config.FeatureToggle;
+import com.google.gson.annotations.Expose;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+
+public class MineshaftConfig {
+
+ @Expose
+ @ConfigOption(
+ name = "Profit Per Corpse",
+ desc = "Show profit/loss in chat after each looted corpse in the Mineshaft. Also includes breakdown information on hover."
+ )
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean profitPerCorpseLoot = true;
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java
index 6d8bd06ab..9c4af3882 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java
@@ -56,6 +56,11 @@ public class MiningConfig {
public CommissionsBlocksColorConfig commissionsBlocksColor = new CommissionsBlocksColorConfig();
@Expose
+ @ConfigOption(name = "Mineshaft", desc = "")
+ @Accordion
+ public MineshaftConfig mineshaft = new MineshaftConfig();
+
+ @Expose
@ConfigOption(name = "Highlight Commission Mobs", desc = "Highlight Mobs that are part of active commissions.")
@ConfigEditorBoolean
@FeatureToggle