1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
package com.ambientaddons.config
import gg.essential.vigilance.Vigilant
import java.awt.Color
import java.io.File
object Config : Vigilant(
File(AmbientAddons.configDirectory, "config.toml"),
AmbientAddons.metadata.name
) {
var blockLowReroll = false
var autoBuyChest = 0
var cancelInteractions = false
var closeSecretChests = false
var ignoreCarpet = false
init {
category("Pre/Post Dungeon") {
subcategory("Chest QOL") {
switch (
::blockLowReroll,
name = "Block rerolling low chests",
description = "Prevents rerolling non-Bedrock chests (or Obsidian on M4)."
)
selector(
::autoBuyChest,
name = "Dungeon Reward Chests",
description = "Either blocks rerolls or automatically buys dungeon reward chests containing certain items.",
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."
)
switch(
::ignoreCarpet,
name = "Ignore carpet hitboxes",
description = "Removes all carpet hitboxes"
)
}
}
}
}
|