Логист: кровавая сфера и кровавый камень (модификаторы мода) - в группе «Некромантия»; имя предмета в логе переноса (#18)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
AlexCube
2026-10-23 16:48:42 +03:00
co-authored by Claude Opus 5.5
parent 054897eb78
commit a745f4eb4a
4 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -206,6 +206,7 @@ namespace NecromancerTome
return _urn.ThreadTo;
}
ItemStack moving = s.Clone();
string what = s.itemValue.ItemClass?.GetItemName(); // до Take: забранная целиком стопка становится пустой
Place(moving, new[] { dst });
int moved = s.count - moving.count;
if (moved <= 0)
@@ -214,7 +215,7 @@ namespace NecromancerTome
}
Take(src, k, moved);
dst.SetModified();
Debug.Log("[NecromancerTome] Cinerarium: дух перенёс " + moved + " " + s.itemValue.ItemClass?.GetItemName() + " из " + f + " в " + _urn.ThreadTo);
Debug.Log("[NecromancerTome] Cinerarium: дух перенёс " + moved + " " + what + " из " + f + " в " + _urn.ThreadTo);
return _urn.ThreadTo;
}
}