diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-04-12 15:24:15 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-12 07:24:15 +0200 |
commit | c52e49c3be13630c872bcb4d2beac13959fbe557 (patch) | |
tree | 2b06e9223f7d6ec8026e53aeb0adda3ab339c8ac /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 863a323d84901a3f0960f39667f95f7cbfb5d31d (diff) | |
download | skyhanni-c52e49c3be13630c872bcb4d2beac13959fbe557.tar.gz skyhanni-c52e49c3be13630c872bcb4d2beac13959fbe557.tar.bz2 skyhanni-c52e49c3be13630c872bcb4d2beac13959fbe557.zip |
Feature: Fossil Excavator (#1427)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/mining/FossilExcavatorConfig.java | 29 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java | 5 |
2 files changed, 34 insertions, 0 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 new file mode 100644 index 000000000..d9a3ac7ba --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/FossilExcavatorConfig.java @@ -0,0 +1,29 @@ +package at.hannibal2.skyhanni.config.features.mining; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import at.hannibal2.skyhanni.config.core.config.Position; +import com.google.gson.annotations.Expose; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; +import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; + +public class FossilExcavatorConfig { + + @Expose + @ConfigOption(name = "Fossil Excavator Helper", desc = "Helps you find fossils in the fossil excavator. " + + "§eWill always solve if you have at least 18 clicks. Solves everything except Spine, Ugly and Helix in 16 clicks.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = true; + + @Expose + @ConfigOption(name = "Show Percentage", desc = "Shows percentage chance that next click will be a fossil. " + + "§eThis assumes there is a fossil hidden in the dirt.") + @ConfigEditorBoolean + public boolean showPercentage = true; + + @Expose + @ConfigLink(owner = FossilExcavatorConfig.class, field = "enabled") + public Position position = new Position(183, 212, false, 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 2741955dc..5beafceb0 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 @@ -34,6 +34,11 @@ public class MiningConfig { public AreaWallsConfig crystalHollowsAreaWalls = new AreaWallsConfig(); @Expose + @ConfigOption(name = "Fossil Excavator", desc = "") + @Accordion + public FossilExcavatorConfig fossilExcavator = new FossilExcavatorConfig(); + + @Expose @ConfigOption(name = "Highlight Commission Mobs", desc = "Highlight Mobs that are part of active commissions.") @ConfigEditorBoolean @FeatureToggle |