Not sure about this. Quick look at perl_npc.cpp I only see NPC::CountLoot
but that doesn't return item info.
I thought I saw a quest somewhere that did something like this but I cant find it. Any copy I had was probably lost on the last HD failure.
Wonder if Akk or Nate have something like this they could show you.
__________________
|