From 393d4c8e14730a5c9b31695f722b6de9480508ec Mon Sep 17 00:00:00 2001 From: ingle Date: Sat, 29 Oct 2022 12:12:03 -0500 Subject: + abiphone do not disturb = refactored chatevent code for readability --- src/main/kotlin/dulkirmod/config/Config.kt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (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 index d300b85..f52a085 100644 --- a/src/main/kotlin/dulkirmod/config/Config.kt +++ b/src/main/kotlin/dulkirmod/config/Config.kt @@ -14,11 +14,27 @@ object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod", so @Property( type = PropertyType.SWITCH, name = "Hide Enchant Rune Particles", - description = "ugly ass", + description = "ugly go bye-bye", category = "General" ) var hideEnchantRune = false + @Property( + type = PropertyType.SWITCH, + name = "Abiphone Do-Not-Disturb", + description = "Detects incoming calls and mutes ring audio for like 5 seconds. \nWorks as long as u don't lag particularly hard at the same time you're being called.", + category = "General" + ) + var abiDND = false + + @Property( + type = PropertyType.SWITCH, + name = "Abiphone Caller ID", + description = "If DND is on, Still give the player a 1 liner to tell them who is calling", + category = "General" + ) + var abiCallerID = false + @Property( type = PropertyType.SWITCH, name = "Hide Healer fairy", @@ -469,6 +485,7 @@ object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod", so addDependency("bestiaryNotifVol", "bestiaryAlertSounds") addDependency("demoVolume", "bestiaryAlertSounds") addDependency("highlightLeapName", "highlightLeap") + addDependency("abiCallerID", "abiDND") setCategoryDescription( "Custom Animations", -- cgit