diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-09-13 20:23:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 20:23:40 +0200 |
commit | 691d2551cf722b76c1894c814d1f6c2e98fe17d6 (patch) | |
tree | c02fd9edb6c2f1f4cb8791cf7113c8d5a8594a2f /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 20081af74fd53f35746ab0d5c974bb5db92bec3b (diff) | |
download | skyhanni-691d2551cf722b76c1894c814d1f6c2e98fe17d6.tar.gz skyhanni-691d2551cf722b76c1894c814d1f6c2e98fe17d6.tar.bz2 skyhanni-691d2551cf722b76c1894c814d1f6c2e98fe17d6.zip |
Feature: Carnival QoL (#2498)
Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com>
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/event/EventConfig.java | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/event/carnival/CarnivalConfig.java | 26 |
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; } |