Allow player and NPC tags in inventory scripts