aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/config/Config.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/config/Config.kt')
-rw-r--r--src/main/kotlin/com/ambientaddons/config/Config.kt22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/main/kotlin/com/ambientaddons/config/Config.kt b/src/main/kotlin/com/ambientaddons/config/Config.kt
index b283abb..19a11a6 100644
--- a/src/main/kotlin/com/ambientaddons/config/Config.kt
+++ b/src/main/kotlin/com/ambientaddons/config/Config.kt
@@ -12,8 +12,11 @@ object Config : Vigilant(
var blockLowReroll = false
var autoBuyChest = 0
+ var cancelInteractions = false
+ var closeSecretChests = false
+
init {
- category("Pre/Post Dungeon") {
+ category("Pre/Post Dungeon") {
subcategory("Chest QOL") {
switch (
::blockLowReroll,
@@ -27,10 +30,21 @@ object Config : Vigilant(
options = listOf("Off", "Block Reroll", "Autobuy")
)
}
+ }
+ category("Dungeon") {
+ subcategory("Miscellaneous QOL") {
+ switch(
+ ::cancelInteractions,
+ name = "Cancel block interactions",
+ description = "Cancels interactions with hoppers that prevent using item abilities."
+ )
+ switch(
+ ::closeSecretChests,
+ name = "Block opening secret chests",
+ description = "Cancels opening chests containing secrets."
+ )
+ }
}
}
-
-
-
} \ No newline at end of file