diff --git a/Changelog/2026-10-11-universal-quests-pets.md b/Changelog/2026-10-11-universal-quests-pets.md new file mode 100644 index 0000000..cba5c4b --- /dev/null +++ b/Changelog/2026-10-11-universal-quests-pets.md @@ -0,0 +1,29 @@ +# Char menu: Quests and Pets under Character; "Server: " for the server section + +## What changed + +- **Quests and Pets are universal.** RynthAi's Mini Remote shows those tabs on every server, so + they moved: + - into the Char right-click menu's **Character** half, after Spells. They open the Mini Remote + window on that tab (`/rc miniremote tab quests|pets`); + - out of the Infinite Leaftide server registration (`EntryPoint.RegisterServerMenus`). +- **Guardian stays ILT only**, in the server section, together with: + - the Character, Banking, Gear and Games tabs; + - Bounties (RynthILT); + - Progression. +- **Server section header:** each active section is now titled "Server: ", e.g. "Server: + Infinite Leaftide" (`ServerMenus.DrawImGuiMenu`). RynthAi's Mini Remote menu uses the same + header. +- **Char launcher tooltip** now lists Quests and Pets. + +## Files + +- `src/RynthCore.Engine/EntryPoint.cs`: the ILT tab list without Quests and Pets. +- `src/RynthCore.Engine/UI/ServerMenus.cs`: the "Server: " header. +- `src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs`: Quests and Pets in `CharMenu`; the + tooltip; the `ShowMiniRemoteTab` doc. + +## Testing + +- The engine builds in Release, and ItemHudTests pass. +- Not yet checked in game. diff --git a/src/RynthCore.Engine/EntryPoint.cs b/src/RynthCore.Engine/EntryPoint.cs index e706a5d..25eb735 100644 --- a/src/RynthCore.Engine/EntryPoint.cs +++ b/src/RynthCore.Engine/EntryPoint.cs @@ -582,11 +582,11 @@ public static class EntryPoint UI.ServerMenus.DefineServer("ilt", "Infinite Leaftide", static () => IltInfo.IsIlt, "/rc ilt on"); if (rynthAi) { - // RynthAi's ILT features: the Mini Remote's tabs (shown once the server reports each on). + // RynthAi's ILT features: the Mini Remote's ILT tabs (shown once the server reports each + // on). Its Quests and Pets tabs are universal: the Character half of the menus. foreach ((string label, string tab) in new[] { - ("Character", "character"), ("Quests", "quests"), ("Pets", "pets"), - ("Banking", "banking"), ("Gear", "gear"), ("Games", "games"), + ("Character", "character"), ("Banking", "banking"), ("Gear", "gear"), ("Games", "games"), }) { UI.ServerMenus.AddItem("ilt", new UI.ServerMenuItem(label, "/rc miniremote tab " + tab, diff --git a/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs b/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs index 050b85a..f72eff4 100644 --- a/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs +++ b/src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs @@ -540,7 +540,7 @@ internal sealed partial class RynthAiFace : IImGuiPanel // Char and Hub open the Mini Remote window (MiniRemoteFace, hosting RynthAi's remote): Char // on its Character tab (an ILT tab; elsewhere the remote shows), Hub as it was left. Launcher("##l_char", PhosphorIcons.User, "Char", - "Char. Left-click: the Mini Remote on its Character tab (ILT worlds). Right-click: Character windows (Spells, Skills, Inventory...), then this server's plugin windows.", + "Char. Left-click: the Mini Remote on its Character tab (ILT worlds). Right-click: Character windows (Spells, Quests, Pets, Skills, Inventory...), then Server: this server's plugin windows.", x, y, bw, labels, () => ShowMiniRemoteTab("character")); if (ImGuiNET.ImGui.IsItemClicked(ImGuiMouseButton.Right)) { @@ -758,8 +758,9 @@ internal sealed partial class RynthAiFace : IImGuiPanel // (UI.ServerMenus): the installed server plugins' windows for the world you're on. /// - /// Opens the Mini Remote window on one of its tabs ("" = the remote). RynthAi shows the tab - /// once the server reports that ILT feature on; until then the window shows the remote. + /// Opens the Mini Remote window on one of its tabs ("" = the remote). Quests and Pets show on + /// every server; RynthAi shows an ILT tab once the server reports that feature on, and until + /// then the window shows the remote. /// private static void ShowMiniRemoteTab(string section) { @@ -792,6 +793,11 @@ internal sealed partial class RynthAiFace : IImGuiPanel if (ImGuiNET.ImGui.MenuItem("Spells", "/rc spells")) RynthAiCommands.ApplyRemoteCommand("spells", "toggle"); ImGuiNET.ImGui.SetItemTooltip("RynthAi Spells: the spell catalog and buff profiles."); + // The Mini Remote's universal tabs (every server); its ILT tabs are in the server half. + if (ImGuiNET.ImGui.MenuItem("Quests", "/rc miniremote tab quests")) ShowMiniRemoteTab("quests"); + ImGuiNET.ImGui.SetItemTooltip("The Mini Remote's Quests tab: /myquests timers and favorites (RynthAi)."); + if (ImGuiNET.ImGui.MenuItem("Pets", "/rc miniremote tab pets")) ShowMiniRemoteTab("pets"); + ImGuiNET.ImGui.SetItemTooltip("The Mini Remote's Pets tab: summoning essences, priorities and the healing pet (RynthAi)."); PanelMenuItem(SkillsFace.Title, "/rc skills"); PanelMenuItem(InventoryFace.Title, "/rc inventory"); PanelMenuItem(ItemCountFace.Title, "/rc itemcount"); diff --git a/src/RynthCore.Engine/UI/ServerMenus.cs b/src/RynthCore.Engine/UI/ServerMenus.cs index 5785cec..1a36385 100644 --- a/src/RynthCore.Engine/UI/ServerMenus.cs +++ b/src/RynthCore.Engine/UI/ServerMenus.cs @@ -191,7 +191,7 @@ internal static class ServerMenus installed = true; if (!s.IsActive) continue; any = true; - ImGuiNET.ImGui.TextDisabled(s.Name); + ImGuiNET.ImGui.TextDisabled("Server: " + s.Name); foreach (ServerMenuItem item in s.Items) { if (ImGuiNET.ImGui.MenuItem(item.Label + "##srv_" + s.Id, item.Command))