From 3cd5f5f32cd60c15e1c68862d28885f733473dad Mon Sep 17 00:00:00 2001 From: ingle Date: Fri, 23 Sep 2022 22:24:48 -0500 Subject: Some things work now --- src/main/kotlin/dulkirmod/config/Config.kt | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/main/kotlin/dulkirmod/config/Config.kt (limited to 'src/main/kotlin/dulkirmod/config/Config.kt') 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() + } + +} -- cgit