Notes
These notes explain what item quality means here, and how an ItemDef behaves once you have it.
Things to know
- Quality and condition belong to each single item the player holds, not to the catalogue.
Qualityhere is only the starting value in the catalogue. - An
ItemDefis a snapshot made when you asked, and a property read allocates nothing.PriceandMaxStackshow the difficulty at the time of the call, so do not keep anItemDefand treat it as a live value. (EquipSlot,EquipType,AmmoItemIds,AmmoCategories,FuelBurnTime,ElectronicandElectronicTypeare read once, when theItemDefis built.)