SK fork: SK-local features through release 2026.10.5.12 #1

Closed
Silentkelpie wants to merge 137 commits from Silentkelpie/SK-RynthCore:main into main
2 changed files with 26 additions and 0 deletions
Showing only changes of commit 31ab351ffe - Show all commits

feat(engine): inventory menu item to add an item to RynthAi's item count HUD

Co-authored-by: Cursor <cursoragent@cursor.com>
BlankenshipG 2026-10-05 09:51:19 -04:00

View file

@ -0,0 +1,22 @@
# Inventory: "Add to item count HUD" (RynthAi 0.5.3-legacy-ui)
Date: 2026-10-05
Branches (local): RynthCore `merge/aelrynth-2026.10.5.1`; RynthSuite `fix/rynthai-launcher-remote-commands`
Previous plugin version: 0.5.2-legacy-ui
## What's new
- The in-client **Inventory** panel's right-click menu has **Add to item count HUD** for any item
that isn't a pack. It adds the item, by name, to RynthAi's floating item count HUD and shows the
HUD. You no longer have to select the item in the game first and use the HUD setup window.
- Typed equivalent: `/ra itemhud add <item name>`.
- RynthAi confirms in chat: `Added <name> to the item count HUD.` or `<name> is already on the item
count HUD.` The icon and WCID fill in on the HUD's next pack scan.
## How it works
- Engine `InventoryFace` sends the remote command `itemhudadd=<item name>` through
`RynthAiCommands.ApplyRemoteCommand`.
- RynthAi's `ApplyRemoteCommand` queues it to the pump thread and calls
`HudController.AddToItemHudAndShow` (new). `/ra itemhud add` uses the same handler.
- `/ra itemhud [show|hide|toggle]` is unchanged.

View file

@ -892,6 +892,10 @@ internal sealed partial class InventoryFace : IImGuiPanel
_lootAdd.Open(it.Id, it.Name, toOpenProfile: false);
if (ImGuiNET.ImGui.IsItemHovered())
ImGuiNET.ImGui.SetTooltip("Make a RynthAi loot rule for this item (preview first)");
if (!it.IsPack && ImGuiNET.ImGui.MenuItem("Add to item count HUD"))
UI.Data.RynthAiCommands.ApplyRemoteCommand("itemhudadd", it.Name);
if (ImGuiNET.ImGui.IsItemHovered())
ImGuiNET.ImGui.SetTooltip("Track how many of these you carry on RynthAi's floating item count HUD (/ra itemhud add)");
if (!idle)
ImGuiNET.ImGui.TextDisabled("(an item action is waiting)");
}