Event_inventory_single_slot_update fires for new items. You can filter it to only fire as your player gets new items and check with this what item came in new. You only need to track the sources you have mentioned already (chests, bags, containers, enemies bodies, etc.) , and maybe with event_loot* to compare the itemName as well, to be sure it really was looted (and not obtained from a mail attachment etc. But the mapping of sources to items should be hard to make "safe". If you e. G. Loot bags and overland sacks or whatever wuicly after another you cannot be sure what item came from what container...
|