aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorappable <enzospiacitelli@gmail.com>2024-05-29 23:56:36 -0700
committerGitHub <noreply@github.com>2024-05-30 08:56:36 +0200
commit47b1fdce5577204bfef7a34dfe25af7374909ef6 (patch)
treef04b0349a4f6bbaf93f51ae0ac5b62ff6d873c35 /src/main/java/at/hannibal2/skyhanni/config
parent1b45880779262ddfb01c7f18975e4890c4f20511 (diff)
downloadskyhanni-47b1fdce5577204bfef7a34dfe25af7374909ef6.tar.gz
skyhanni-47b1fdce5577204bfef7a34dfe25af7374909ef6.tar.bz2
skyhanni-47b1fdce5577204bfef7a34dfe25af7374909ef6.zip
Feature: mark duplicate egg locations (#1929)
Co-authored-by: Cal <cwolfson58@gmail.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/event/HoppityEggsConfig.java18
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java5
2 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java
index 345b3fb83..5361991e1 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/HoppityEggsConfig.java
@@ -39,12 +39,30 @@ public class HoppityEggsConfig {
public boolean showAllWaypoints = false;
@Expose
+ @ConfigOption(name = "Mark Duplicate Locations", desc = "Marks egg location waypoints which you have already found in red.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean highlightDuplicateEggLocations = false;
+
+ @Expose
+ @ConfigOption(name = "Mark Nearby Duplicates", desc = "Always show duplicate egg locations when nearby.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean showNearbyDuplicateEggLocations = false;
+
+ @Expose
@ConfigOption(name = "Show Unclaimed Eggs", desc = "Displays which eggs haven't been found in the last SkyBlock day.")
@ConfigEditorBoolean
@FeatureToggle
public boolean showClaimedEggs = false;
@Expose
+ @ConfigOption(name = "Show Collected Locations", desc = "Shows the number of found egg locations on this island. §eThis is not retroactive and may not be fully synced with Hypixel's count.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean showCollectedLocationCount = false;
+
+ @Expose
@ConfigOption(name = "Warn When Unclaimed", desc = "Warn when all three eggs are ready to be found.")
@ConfigEditorBoolean
@FeatureToggle
diff --git a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
index e25d725ec..747d5c116 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/storage/ProfileSpecificStorage.java
@@ -1,6 +1,7 @@
package at.hannibal2.skyhanni.config.storage;
import at.hannibal2.skyhanni.api.SkillAPI;
+import at.hannibal2.skyhanni.data.IslandType;
import at.hannibal2.skyhanni.data.MaxwellAPI;
import at.hannibal2.skyhanni.data.model.ComposterUpgrade;
import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNodeTracker;
@@ -41,6 +42,7 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.Set;
public class ProfileSpecificStorage {
@@ -129,6 +131,9 @@ public class ProfileSpecificStorage {
public Map<String, Integer> rabbitCounts = new HashMap();
@Expose
+ public Map<IslandType, Set<LorenzVec>> collectedEggLocations = new HashMap();
+
+ @Expose
public Integer hoppityShopYearOpened = null;
}