From c56059b6c9d28d17d82de090c5a0b9d9382cb82c Mon Sep 17 00:00:00 2001 From: inglettronald Date: Sun, 23 Jul 2023 21:47:02 -0500 Subject: Chat stacking with lots of refactor --- src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/main/kotlin/com/dulkirfabric/config') 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 = mutableMapOf(), var hudifyActionBar: Boolean = true, - var showEHP: Boolean = false + var showEHP: Boolean = false, + var hideHeldItemTooltip: Boolean = false ) @Serializable -- cgit