[Question] How to Make a NPC give a random item


Just wondering if it was possible from just having DB access to create an NPC so when say you give the NPC a selected item or that the player has a specific item in it’s inventory, it will give the player a random item from selecting a gossip menu from a selected list of item ID’s which you have stored.