diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
3 files changed, 37 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java index e2d8750b0..91570137e 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java @@ -9,6 +9,7 @@ import at.hannibal2.skyhanni.features.fishing.tracker.FishingProfitTracker; import at.hannibal2.skyhanni.features.fishing.trophy.TrophyRarity; import at.hannibal2.skyhanni.features.garden.CropAccessory; import at.hannibal2.skyhanni.features.garden.CropType; +import at.hannibal2.skyhanni.features.garden.GardenPlotAPI; import at.hannibal2.skyhanni.features.garden.farming.ArmorDropTracker; import at.hannibal2.skyhanni.features.garden.farming.DicerDropTracker; import at.hannibal2.skyhanni.features.garden.fortuneguide.FarmingItems; @@ -227,7 +228,7 @@ public class Storage { } @Expose - public Map<Integer, String> plotNames = new HashMap<>(); + public Map<Integer, GardenPlotAPI.PlotData> plotData = new HashMap<>(); @Expose public Map<CropType, LorenzVec> cropStartLocations = new HashMap<>(); diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java new file mode 100644 index 000000000..444da848d --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java @@ -0,0 +1,30 @@ +package at.hannibal2.skyhanni.config.features.garden.pests; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import at.hannibal2.skyhanni.config.core.config.Position; +import com.google.gson.annotations.Expose; +import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; +import io.github.moulberry.moulconfig.annotations.ConfigOption; + +public class PestFinderConfig { + + @Expose + @ConfigOption( + name = "Display", + desc = "Show a display with all know pest locations." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean showDisplay = true; + + @Expose + @ConfigOption( + name = "Only With Vacuum", + desc = "Only show the pest display while holding a vacuum in the hand." + ) + @ConfigEditorBoolean + public boolean onlyWithVacuum = true; + + @Expose + public Position position = new Position(-350, 200, 1.3f); +} diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java index 94d954ff4..94e972dfe 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestsConfig.java @@ -12,6 +12,11 @@ public class PestsConfig { public PestSpawnConfig pestSpawn = new PestSpawnConfig(); @Expose + @ConfigOption(name = "Pest Finder", desc = "") + @Accordion + public PestFinderConfig pestFinder = new PestFinderConfig(); + + @Expose @ConfigOption(name = "Pest Timer", desc = "") @Accordion public PestTimerConfig pestTimer = new PestTimerConfig(); |