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/event/EventConfig.java4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/event/carnival/CarnivalConfig.java26
2 files changed, 27 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/EventConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/EventConfig.java
index 1c916bbe1..41d5771ab 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/event/EventConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/EventConfig.java
@@ -44,9 +44,8 @@ public class EventConfig {
@Expose
public GreatSpookConfig spook = new GreatSpookConfig();
- @ConfigOption(name = "Carnival", desc = "")
- @Accordion
@Expose
+ @Category(name = "The Carnival", desc = "Features for games at §eThe Carnival §7when §bFoxy §7is Mayor.")
public CarnivalConfig carnival = new CarnivalConfig();
// comment in if the event is needed again
@@ -58,5 +57,4 @@ public class EventConfig {
@Category(name = "Lobby Waypoints", desc = "Lobby Event Waypoint settings")
@Expose
public LobbyWaypointsConfig lobbyWaypoints = new LobbyWaypointsConfig();
-
}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/carnival/CarnivalConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/carnival/CarnivalConfig.java
index b874f7558..cad2b7ea3 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/event/carnival/CarnivalConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/carnival/CarnivalConfig.java
@@ -1,7 +1,11 @@
package at.hannibal2.skyhanni.config.features.event.carnival;
+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.Accordion;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigLink;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
public class CarnivalConfig {
@@ -10,4 +14,26 @@ public class CarnivalConfig {
@ConfigOption(name = "Zombie Shootout", desc = "")
@Accordion
public ZombieShootoutConfig zombieShootout = new ZombieShootoutConfig();
+
+ @Expose
+ @ConfigOption(name = "Reminder Daily Tickets", desc = "Reminds you when tickets can be claimed from the carnival leader.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean reminderDailyTickets = true;
+
+ @Expose
+ @ConfigOption(name = "Show Goals", desc = "Displays the goals for this carnival event.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean showGoals = true;
+
+ @Expose
+ @ConfigLink(owner = CarnivalConfig.class, field = "showGoals")
+ public Position goalsPosition = new Position(20, 20);
+
+ @Expose
+ @ConfigOption(name = "Double Click to Start", desc = "Clicking the npc again after the npc finishes talking to start game.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean doubleClickToStart = true;
}