diff options
author | inglettronald <inglettronald@gmail.com> | 2023-03-08 01:41:30 -0600 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-03-08 01:41:30 -0600 |
commit | 2fb9648d7ced999673684ac898092d26b2a19c7e (patch) | |
tree | 3f01bcdc03b4a0e41794d7adecc75c0fa408016e /src/main/kotlin/dulkirmod/config | |
parent | 6ebf4007fefb6570c4388dfa2018f305f373a770 (diff) | |
download | DulkirMod-2fb9648d7ced999673684ac898092d26b2a19c7e.tar.gz DulkirMod-2fb9648d7ced999673684ac898092d26b2a19c7e.tar.bz2 DulkirMod-2fb9648d7ced999673684ac898092d26b2a19c7e.zip |
Addded new Farming control toggle feature
Diffstat (limited to 'src/main/kotlin/dulkirmod/config')
-rw-r--r-- | src/main/kotlin/dulkirmod/config/Config.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/kotlin/dulkirmod/config/Config.kt b/src/main/kotlin/dulkirmod/config/Config.kt index 4d490bd..7f914e1 100644 --- a/src/main/kotlin/dulkirmod/config/Config.kt +++ b/src/main/kotlin/dulkirmod/config/Config.kt @@ -559,6 +559,17 @@ object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod", so ) var persistentAlert = true + @Property( + type = PropertyType.DECIMAL_SLIDER, + name = "Default Sensitivity", + description = "For use with the /farmcontrols command toggle", + category = "Farming", + minF = 0f, + maxF = 2f, + decimalPlaces = 2 + ) + var defaultSens = .7f + fun init() { initialize() addDependency("customMessage", "throttleNotifier") |