diff options
author | inglettronald <inglettronald@gmail.com> | 2023-07-17 03:27:35 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-07-17 03:27:35 -0500 |
commit | d21dad73e37c1aaba1933a52b094534865594dc7 (patch) | |
tree | 33e825fe82ea3435a2c49c2ff8063e2f5d75752d /src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt | |
parent | 1a8e45d8519a8ae69e14db8ea103a7fdf7b80923 (diff) | |
download | DulkirMod-Fabric-d21dad73e37c1aaba1933a52b094534865594dc7.tar.gz DulkirMod-Fabric-d21dad73e37c1aaba1933a52b094534865594dc7.tar.bz2 DulkirMod-Fabric-d21dad73e37c1aaba1933a52b094534865594dc7.zip |
finished infrastructure for Durability-based cooldown displays that use sounds
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt index 75bd592..3407738 100644 --- a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt +++ b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt @@ -104,6 +104,9 @@ class DulkirConfig { general.addEntry( entryBuilder.mkToggle(Text.literal("Disable Explosion Particles"), configOptions::disableExplosionParticles) ) + general.addEntry( + entryBuilder.mkToggle(Text.literal("Durability-Based Cooldown Display"), configOptions::duraCooldown) + ) val shortcuts = builder.getOrCreateCategory(Text.literal("Shortcuts")) shortcuts.addEntry( @@ -160,7 +163,8 @@ class DulkirConfig { var tooltipScale: Float = 1f, var statusEffectHidden: Boolean = false, var inactiveEffigyDisplay: Boolean = false, - var disableExplosionParticles: Boolean = false + var disableExplosionParticles: Boolean = false, + var duraCooldown: Boolean = false ) @Serializable |