aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/config
diff options
context:
space:
mode:
authorAppability <appable@icloud.com>2022-10-12 20:48:51 -0700
committerAppability <appable@icloud.com>2022-10-12 20:48:51 -0700
commitc599ee0d78ed8bc17488636f2d9b9b1d5b6dd4a8 (patch)
treef362a5f60f31e27f1567c7319a78d861b19430a7 /src/main/kotlin/com/ambientaddons/config
parent03728b81851af00cd265fadd4ce6eaa3a8066dcb (diff)
downloadAmbientAddons-c599ee0d78ed8bc17488636f2d9b9b1d5b6dd4a8.tar.gz
AmbientAddons-c599ee0d78ed8bc17488636f2d9b9b1d5b6dd4a8.tar.bz2
AmbientAddons-c599ee0d78ed8bc17488636f2d9b9b1d5b6dd4a8.zip
uh a lot of things
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/config')
-rw-r--r--src/main/kotlin/com/ambientaddons/config/Config.kt36
1 files changed, 29 insertions, 7 deletions
diff --git a/src/main/kotlin/com/ambientaddons/config/Config.kt b/src/main/kotlin/com/ambientaddons/config/Config.kt
index d62ff8f..722a853 100644
--- a/src/main/kotlin/com/ambientaddons/config/Config.kt
+++ b/src/main/kotlin/com/ambientaddons/config/Config.kt
@@ -6,21 +6,24 @@ import java.io.File
object Config : Vigilant(
- File(AmbientAddons.configDirectory, "config.toml"),
- AmbientAddons.metadata.name
+ File(AmbientAddons.configDirectory, "config.toml"), AmbientAddons.metadata.name
) {
var blockLowReroll = false
var autoBuyChest = 0
+ var autoReady = 0
+ var maskWarning = false
+
+ var terminatorCps = 0
var cancelInteractions = false
var closeSecretChests = false
var ignoreCarpet = false
init {
- category("Pre/Post Dungeon") {
+ category("Pre/Post Dungeon") {
subcategory("Chest QOL") {
- switch (
+ switch(
::blockLowReroll,
name = "Block rerolling low chests",
description = "Prevents rerolling non-Bedrock chests (or Obsidian on M4)."
@@ -32,10 +35,31 @@ object Config : Vigilant(
options = listOf("Off", "Block Reroll", "Autobuy")
)
}
+ selector(
+ ::autoReady,
+ name = "Ready at the start of a dungeon",
+ description = "Can be enabled always or only when 5 players are in the dungeon.",
+ options = listOf("Off", "5 Players", "All")
+ )
+ }
+
+ category("Displays") {
+ switch(
+ ::maskWarning,
+ name = "Mask proc warning",
+ description = "Displays a title when a spirit mask or bonzo mask procs."
+ )
}
category("Dungeon") {
subcategory("Miscellaneous QOL") {
+ slider(
+ ::terminatorCps,
+ name = "Set terminator autoclick CPS",
+ description = "Set to 0 to disable the feature",
+ min = 0,
+ max = 50
+ )
switch(
::cancelInteractions,
name = "Cancel block interactions",
@@ -47,9 +71,7 @@ object Config : Vigilant(
description = "Cancels opening chests containing secrets."
)
switch(
- ::ignoreCarpet,
- name = "Ignore carpet hitboxes",
- description = "Removes all carpet hitboxes"
+ ::ignoreCarpet, name = "Ignore carpet hitboxes", description = "Removes all carpet hitboxes"
)
}
}