Волк: щелчок по сумке кладёт в ящик/мешок; Tab в волке открывает его сумку

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
AlexCube
2026-10-11 00:04:17 +03:00
co-authored by Claude Opus 5.5
parent 3aeeae04ae
commit d845fa1108
4 changed files with 115 additions and 2 deletions
+8
View File
@@ -662,6 +662,14 @@ namespace NecromancerTome
}
if (IsPet && WolfControl.Is(z))
{
// Tab в волке - окно его сумки, а не рюкзак персонажа (тест 10.10: «в волке Tab - вижу сумку игрока»).
GUIWindowManager wm = LocalPlayerUI.GetUIForPlayer(_player)?.windowManager;
if (wm != null && wm.IsWindowOpen("windowpaging") && !WolfBag.WindowOpen && !RatLoot.Viewing)
{
wm.CloseAllOpenModalWindows();
wm.Close("windowpaging");
WolfBag.OpenWindow(_player, z);
}
// ПКМ - бросок на цель, след крови раненых (решено 09.10).
WolfControl.Tick(world, _player, z, ranged, ref _bodyYaw);
// E: на контейнер или мешок с зомби - лутать в сумку (3 ячейки); у тела - выгрузить сумку в рюкзак;