aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/rift/PunchcardConfig.java48
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftConfig.java5
2 files changed, 53 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/PunchcardConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/PunchcardConfig.java
new file mode 100644
index 000000000..3ef21ba0a
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/PunchcardConfig.java
@@ -0,0 +1,48 @@
+package at.hannibal2.skyhanni.config.features.rift;
+
+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.ConfigEditorColour;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigLink;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+import io.github.notenoughupdates.moulconfig.observer.Property;
+
+public class PunchcardConfig {
+ @Expose
+ @ConfigOption(name = "Highlight", desc = "Highlights unpunched players in the Rift.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public Property<Boolean> highlight = Property.of(false);
+
+ @Expose
+ @ConfigOption(name = "Color", desc = "Color used for highlighting.")
+ @ConfigEditorColour
+ public Property<String> color = Property.of("0:163:122:11:143");
+
+ @Expose
+ @ConfigOption(name = "Enable Overlay", desc = "Shows an overlay with the amount of punched players.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public Property<Boolean> gui = Property.of(false);
+
+ @Expose
+ @ConfigOption(name = "Compact Overlay", desc = "Compacts the overlay, requires it to be enabled.")
+ @ConfigEditorBoolean
+ public Property<Boolean> compact = Property.of(false);
+
+ @Expose
+ @ConfigOption(name = "Countdown Overlay", desc = "Shows the amount of remaining players in the overlay.")
+ @ConfigEditorBoolean
+ public Property<Boolean> reverseGUI = Property.of(false);
+
+ @Expose
+ @ConfigOption(name = "Only punched players", desc = "Highlights only punched players instead.")
+ @ConfigEditorBoolean
+ public Property<Boolean> reverse = Property.of(false);
+
+ @Expose
+ @ConfigLink(owner = PunchcardConfig.class, field = "gui")
+ public Position position = new Position(10, 27);
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftConfig.java
index 68bfb0954..147709752 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftConfig.java
@@ -40,6 +40,11 @@ public class RiftConfig {
public MotesOrbsConfig motesOrbs = new MotesOrbsConfig();
@Expose
+ @ConfigOption(name = "Punchcard Artifact", desc = "")
+ @Accordion
+ public PunchcardConfig punchcard = new PunchcardConfig();
+
+ @Expose
@ConfigOption(name = "Highlight Guide", desc = "Highlight things to do in the Rift Guide.")
@ConfigEditorBoolean
@FeatureToggle