Adding struct to array of structs, and changing the value of the struct being added

So I have an array of inventory items, which I need to add a struct (InventoryItem) into, the struct contains item name and amount. How do I change these values when I add it into the array?

So I figured it out when I woke up… and it was pretty easy but I was drunk so that’s why I couldn’t figure it out :rolleyes:

This is how I did it:
devenv_Nt3KnMXFkG.png