aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorsaga <45262877+saga-00@users.noreply.github.com>2024-08-26 07:09:49 -0300
committerGitHub <noreply@github.com>2024-08-26 12:09:49 +0200
commitf9f271831ba80631e73d5f5c2e44c297552af9cc (patch)
treeb8c9bf2e63fdb1f42c1c762ac642406031894770 /src/main/java/at/hannibal2/skyhanni/config
parent04fcd6c50b4d6716d5fbe5d78fc21b8143a62a5f (diff)
downloadskyhanni-f9f271831ba80631e73d5f5c2e44c297552af9cc.tar.gz
skyhanni-f9f271831ba80631e73d5f5c2e44c297552af9cc.tar.bz2
skyhanni-f9f271831ba80631e73d5f5c2e44c297552af9cc.zip
Improvement: Default amount for /gfs (#1927)
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/inventory/GetFromSackConfig.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/GetFromSackConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/GetFromSackConfig.java
index 03990536f..ee77d6664 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/GetFromSackConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/GetFromSackConfig.java
@@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.config.features.inventory;
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.ConfigEditorSlider;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
public class GetFromSackConfig {
@@ -23,4 +24,14 @@ public class GetFromSackConfig {
@ConfigEditorBoolean
@FeatureToggle
public boolean superCraftGFS = true;
+
+ @Expose
+ @ConfigOption(name = "Default GfS", desc = "If you don't provide an amount, a default one will be used instead. Queued GfS needs to be on in order for this to work.")
+ @ConfigEditorBoolean
+ public boolean defaultGFS = false;
+
+ @Expose
+ @ConfigOption(name = "Default Amount GfS", desc = "The default amount of items used when an amount isn't provided.")
+ @ConfigEditorSlider(minValue = 1, maxValue = 64, minStep = 1)
+ public int defaultAmountGFS = 1;
}