one more thing. In my experience, if the qglobal check happens after the item check, if the player doing the turn in has the proper item, but not the qglobal flag, the NPC will eat the proper item. Doing the qglobal check before the item check resolve this issue.
__________________
|