Add inventory slots for each inventory item with changing values

Rising-Mobile,

I would recommend you take a look at this tutorial about how to create an inventory system. I was able to take that and expand upon it greatly.

In this guide it mentions how to set up the slots as widgets and to assign them to the correct array slot. Make sure to watch and understand the concepts he talks about. I have a feeling that what you are trying to do is similar to that setup so you can either add your own additions to it or go off it like I did. I would start a new project and go through the whole tutorial and afterwards give it a few days to let the knowledge soak in. If you are still having trouble let us know.