Cant fingure out how to save my inventory items. Please help!

I have an inventory systen set up that works. I xan save my game and location but xannot figure out how tonsave the items I pickup in the inventory. Please help!

Assuming your items have their data packed into structs, iterate over the content of the inventory, assemble it into arrays and save as any other variable.