aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/config/Config.kt
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-09-23 22:24:48 -0500
committeringle <inglettronald@gmail.com>2022-09-23 22:25:15 -0500
commit3cd5f5f32cd60c15e1c68862d28885f733473dad (patch)
treeb58f43d7a27cfab3246b7b32a84ff1b8518dd3b9 /src/main/kotlin/dulkirmod/config/Config.kt
parent982f4e721ea20eaef3056050ad0b6a5058d24354 (diff)
downloadDulkirMod-3cd5f5f32cd60c15e1c68862d28885f733473dad.tar.gz
DulkirMod-3cd5f5f32cd60c15e1c68862d28885f733473dad.tar.bz2
DulkirMod-3cd5f5f32cd60c15e1c68862d28885f733473dad.zip
Some things work now
Diffstat (limited to 'src/main/kotlin/dulkirmod/config/Config.kt')
-rw-r--r--src/main/kotlin/dulkirmod/config/Config.kt43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/main/kotlin/dulkirmod/config/Config.kt b/src/main/kotlin/dulkirmod/config/Config.kt
new file mode 100644
index 0000000..859fd9d
--- /dev/null
+++ b/src/main/kotlin/dulkirmod/config/Config.kt
@@ -0,0 +1,43 @@
+package dulkirmod.config
+
+import gg.essential.vigilance.Vigilant
+import gg.essential.vigilance.data.Category
+import gg.essential.vigilance.data.Property
+import gg.essential.vigilance.data.PropertyType
+import gg.essential.vigilance.data.SortingBehavior
+import dulkirmod.DulkirMod.Companion.display
+import java.awt.Color
+import java.io.File
+import java.util.function.Consumer
+
+object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod") {
+
+ @Property(
+ type = PropertyType.SWITCH,
+ name = "Hide Enchant Rune Particles",
+ description = "ugly ass",
+ category = "General"
+ )
+ var hideEnchantRune = false
+
+ @Property(
+ type = PropertyType.SWITCH,
+ name = "Hide Healer fairy",
+ description = "Probably disable when not in dungeons for now. Will fix later.",
+ category = "General"
+ )
+ var hideHealerFairy = false
+
+ @Property(
+ type = PropertyType.SWITCH,
+ name = "Hide Heart Particles",
+ description = "Useful for hyperion and healer bullshit",
+ category = "General"
+ )
+ var hideHeartParticles = false
+
+ fun init() {
+ initialize()
+ }
+
+}