Board Thread:Suggestions forum/@comment-27753647-20170118173458/@comment-25565811-20170120135814

''Laferator wrote: How would it know which kind of food you wanted to give? ...''

There are multiple options to implement that:
 * Choose a random item in the inventory. Take as much as needed. If not enough, repeat this step.
 * Choose the first item in the inventory. Take as much as needed. If not enough, repeat this step.
 * Leave it to the responsibility of the player by:
 * Pop up a GUI, to have the player select some of the food items.
 * If you don't want a certain food item to be given away, move it into a pouch or drop it onto the ground, before talking to the NPC.