I can't get ItemCl by id. Here example, that should spam Deterioration of item in log, but item is not valid.
ItemCl@[] items;
CritterCl@ chosen= GetChosen();
chosen.GetItems( -1, items);
ItemCl@ item = GetItem(items[0].Id);
if(valid(item)) Message(" "+item.Deterioration);
Generally I want to get items, that not in player's inventory - containers and npc inv. When I trade 'em or loot 'em, I can see all parametres, such as Deterioration, in item's description, which means, that client have access to them, but I have no idea how to get/use this values in client scripts.
Sorry for my language.