aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/config
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-07-23 21:47:02 -0500
committeringlettronald <inglettronald@gmail.com>2023-07-23 21:47:02 -0500
commitc56059b6c9d28d17d82de090c5a0b9d9382cb82c (patch)
treeaa1f6b2c4798502c6f2ccafff788eb04f17c8379 /src/main/kotlin/com/dulkirfabric/config
parentc36dd88ff83ff09d5941d6772b5eefff0cd10665 (diff)
downloadDulkirMod-Fabric-c56059b6c9d28d17d82de090c5a0b9d9382cb82c.tar.gz
DulkirMod-Fabric-c56059b6c9d28d17d82de090c5a0b9d9382cb82c.tar.bz2
DulkirMod-Fabric-c56059b6c9d28d17d82de090c5a0b9d9382cb82c.zip
Chat stacking with lots of refactor
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/config')
-rw-r--r--src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
index a095c23..d310be4 100644
--- a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
+++ b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
@@ -126,10 +126,16 @@ class DulkirConfig {
entryBuilder.mkToggle(Text.literal("Arachne Boss Spawn Timer"), configOptions::arachneSpawnTimer)
)
general.addEntry(
- entryBuilder.mkToggle(Text.literal("Convert Action Bar to HUD elements"), configOptions::hudifyActionBar, tooltip = Text.literal("This converts Mana/Health/Def/Stacks as HUD elements"))
+ entryBuilder.mkToggle(Text.literal("Convert Action Bar to HUD elements"), configOptions::hudifyActionBar,
+ tooltip = Text.literal("This converts Mana/Health/Def/Stacks as HUD elements"))
)
general.addEntry(
- entryBuilder.mkToggle(Text.literal("Include EHP in def HUD element"), configOptions::showEHP, tooltip = Text.literal("Must have Action Bar HUD elements Enabled"))
+ entryBuilder.mkToggle(Text.literal("Include EHP in def HUD element"), configOptions::showEHP,
+ tooltip = Text.literal("Must have Action Bar HUD elements Enabled"))
+ )
+ general.addEntry(
+ entryBuilder.mkToggle(Text.literal("Hide Held Item Tooltips"), configOptions::hideHeldItemTooltip,
+ tooltip = Text.literal("This is for the pesky overlay that pops up on switching items"))
)
val shortcuts = builder.getOrCreateCategory(Text.literal("Shortcuts"))
@@ -275,7 +281,8 @@ class DulkirConfig {
var bridgeNameColor: Int = Formatting.GOLD.colorValue!!,
val positions: MutableMap<String, HudElement.Positioning> = mutableMapOf(),
var hudifyActionBar: Boolean = true,
- var showEHP: Boolean = false
+ var showEHP: Boolean = false,
+ var hideHeldItemTooltip: Boolean = false
)
@Serializable