*At a high level:*
When the player talks to another character, you'll need a way to communicate that conversation. I suggest creating a GUI that opens up when a player talks to a character.
In that GUI have buttons & text for conversation options. Once the player finishes clicking through, add whatever item to their inventory.
There are many ways to create an inventory system, and [many tutorials](https://www.google.com/search?q=unity+inventory+system&aq=f&oq=unity+inventory+system&aqs=chrome.0.57j0l3j62l2.3202&sourceid=chrome&ie=UTF-8#hl=en&safe=off&q=unity+inventory+system+tutorial&spell=1&sa=X&ei=wmxHUdbmDa_C4AP4rIGYBg&ved=0CDIQvwUoAA&bav=on.2,or.r_cp.r_qf.&bvm=bv.43828540,d.dmg&fp=c88c58e01e24d8b1&biw=1280&bih=939) with details on how to do it.
↧