blob: b283abb2aeb1f2fc3f0afa54001bfa37ee3f375c (
plain)
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
|
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
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")
)
}
}
}
}
|