feat(menus): Quests and Pets under Character; server sections titled Server: <name>
See Changelog/2026-10-11-universal-quests-pets.md.
This commit is contained in:
parent
2066033759
commit
97993f3694
4 changed files with 42 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
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");
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue