Add Quick Use: Shift+RClick usable items when no other inventories open

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-20 19:00:22 -05:00
parent 9bd14fb5e8
commit 49722e0a0a
6 changed files with 47 additions and 33 deletions
+11
View File
@@ -109,6 +109,16 @@ public class QuickTransferWindow : Window, IDisposable
}
ImGui.SameLine();
ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.7f, 0.7f), "(Auto-fill quantity, confirm \"How many?\", and click OK on \"Are you certain?\")");
// Quick Use
var enableQuickUse = _config.EnableQuickUse;
if (ImGui.Checkbox("Enable Quick Use###EnableQuickUse", ref enableQuickUse))
{
_config.EnableQuickUse = enableQuickUse;
_config.Save();
}
ImGui.SameLine();
ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.7f, 0.7f), "(Shift+RClick: auto-select \"Use\" on usable items when no other inventories are open)");
// Transfer cooldown
ImGui.Spacing();
@@ -139,6 +149,7 @@ public class QuickTransferWindow : Window, IDisposable
ImGui.BulletText("Company Chest (FreeCompanyChest) open: Shift+RClick Inventory/Armoury deposits, Shift+RClick Company Chest withdraws (\"Remove\")");
ImGui.BulletText("Vendor Shop open: Shift+RClick to auto-select \"Sell\"; enable \"Auto-confirm vendor sell\" to auto-fill quantity and confirm.");
ImGui.BulletText("Quest/dialogue: Shift+RClick on an item to auto-select \"Hand Over\" when handing items to an NPC.");
ImGui.BulletText("Inventory only (no other panels open): Shift+RClick on a usable item (potions, food, etc.) to auto-select \"Use\".");
ImGui.BulletText("Middle-Click: Sort the clicked container when a \"Sort\" menu entry exists. In Company Chest, MMB runs an organize pass (stack + compact).");
ImGui.BulletText("Use /qt or click 'Open Config' in plugin list to reopen this window");