From 7a095db1de2ae6bbe98a99f1ac9b4ad5ebdd7158 Mon Sep 17 00:00:00 2001 From: Knack117 Date: Sat, 31 Jan 2026 13:07:57 -0500 Subject: [PATCH] v1.0.2.7: Fix Mount/Companion/Emote tooltips on hotbars Co-authored-by: Cursor --- HSUI.csproj | 6 +-- HSUI.json | 2 +- Interface/GeneralElements/ActionBarsHud.cs | 51 ++++++++++++++++++++++ changelog.md | 3 ++ pluginmaster.json | 10 ++--- 5 files changed, 63 insertions(+), 9 deletions(-) diff --git a/HSUI.csproj b/HSUI.csproj index 4f7e244..30f11b5 100644 --- a/HSUI.csproj +++ b/HSUI.csproj @@ -9,9 +9,9 @@ HSUI - 1.0.2.6 - 1.0.2.6 - 1.0.2.6 + 1.0.2.7 + 1.0.2.7 + 1.0.2.7 diff --git a/HSUI.json b/HSUI.json index 34c20da..bf941e7 100644 --- a/HSUI.json +++ b/HSUI.json @@ -2,7 +2,7 @@ "Author": "Knack117", "Name": "HSUI", "InternalName": "HSUI", - "AssemblyVersion": "1.0.2.6", + "AssemblyVersion": "1.0.2.7", "Description": "HSUI provides a highly configurable HUD replacement for FFXIV, recreated from DelvUI using KamiToolKit, FFXIVClientStructs, and Dalamud. Features unit frames, castbars, job gauges, nameplates, party frames, status effects, enemy list, configurable hotbars with drag-and-drop, and profiles.", "ApplicableVersion": "any", "RepoUrl": "https://github.com/Knack117/HSUI", diff --git a/Interface/GeneralElements/ActionBarsHud.cs b/Interface/GeneralElements/ActionBarsHud.cs index e77a3fb..c9ee458 100644 --- a/Interface/GeneralElements/ActionBarsHud.cs +++ b/Interface/GeneralElements/ActionBarsHud.cs @@ -1256,6 +1256,57 @@ namespace HSUI.Interface.GeneralElements return ("Macro", ""); } + if (slot.SlotType == RaptureHotbarModule.HotbarSlotType.Mount) + { + var row = Plugin.DataManager.GetExcelSheet()?.GetRow(slot.ActionId); + if (row.HasValue) + { + string name = row.Value.Singular.ToString(); + string desc = ""; + try + { + var transient = Plugin.DataManager.GetExcelSheet()?.GetRow(slot.ActionId); + if (transient.HasValue) + { + string descRaw = transient.Value.Description.ToDalamudString().ToString(); + if (!string.IsNullOrEmpty(descRaw)) + desc = EncryptedStringsHelper.GetString(descRaw); + } + } + catch { /* ignore */ } + return (name, desc); + } + } + + if (slot.SlotType == RaptureHotbarModule.HotbarSlotType.Companion) + { + var row = Plugin.DataManager.GetExcelSheet()?.GetRow(slot.ActionId); + if (row.HasValue) + { + string name = row.Value.Singular.ToString(); + string desc = ""; + try + { + var transient = Plugin.DataManager.GetExcelSheet()?.GetRow(slot.ActionId); + if (transient.HasValue) + { + string descRaw = transient.Value.Description.ToDalamudString().ToString(); + if (!string.IsNullOrEmpty(descRaw)) + desc = EncryptedStringsHelper.GetString(descRaw); + } + } + catch { /* ignore */ } + return (name, desc); + } + } + + if (slot.SlotType == RaptureHotbarModule.HotbarSlotType.Emote) + { + var row = Plugin.DataManager.GetExcelSheet()?.GetRow(slot.ActionId); + if (row.HasValue) + return (row.Value.Name.ToString(), ""); + } + if (slot.SlotType == RaptureHotbarModule.HotbarSlotType.Item) { var row = Plugin.DataManager.GetExcelSheet()?.GetRow(slot.ActionId); diff --git a/changelog.md b/changelog.md index c2e4fe8..77b439a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +# 1.0.2.7 +- **Hotbars**: Fixed Mount/Companion/Emote tooltips — now show actual mount name and description instead of generic "Mount". + # 1.0.2.6 - **Hotbars**: Fixed cooldown overlay direction — icon now greys out when used and lights back up as it cools down (was reversed). diff --git a/pluginmaster.json b/pluginmaster.json index 778ca62..f7ccf2e 100644 --- a/pluginmaster.json +++ b/pluginmaster.json @@ -4,9 +4,9 @@ "Name": "HSUI", "Punchline": "A modern HUD replacement built for customization.", "Description": "HSUI provides a highly configurable HUD replacement for FFXIV, recreated from DelvUI using KamiToolKit, FFXIVClientStructs, and Dalamud. Features unit frames, castbars, job gauges, nameplates, party frames, status effects, enemy list, configurable hotbars with drag-and-drop, and profiles.", - "Changelog": "Hotbars: Fixed cooldown overlay direction (grey when used, lights up as ready).", + "Changelog": "Hotbars: Fixed Mount/Companion/Emote tooltips. Now show actual mount name and description.", "InternalName": "HSUI", - "AssemblyVersion": "1.0.2.6", + "AssemblyVersion": "1.0.2.7", "RepoUrl": "https://github.com/Knack117/HSUI", "ApplicableVersion": "any", "Tags": ["UI", "HUD", "Unit Frames", "Nameplates", "Party Frames", "Hotbars"], @@ -14,10 +14,10 @@ "DalamudApiLevel": 14, "IconUrl": "https://raw.githubusercontent.com/Knack117/HSUI/main/Media/Images/icon.png", "ImageUrls": [], - "DownloadLinkInstall": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.6/latest.zip", + "DownloadLinkInstall": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.7/latest.zip", "IsHide": false, "IsTestingExclusive": false, - "DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.6/latest.zip", - "DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.6/latest.zip" + "DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.7/latest.zip", + "DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.7/latest.zip" } ]