I was trying to work with the inventory function but i cannot save it and i don’t understand the reason.
Affter adding some items to the inventory i save that inventory in a variable as text.
Then i proceed to convert it to a JSON and save it in “inventory” on storage “File1”
When i try to load the info i can recover everything else saved, but the inventory
The procedure i tried is:
Read “inventory” from “File1” and save it on a variable, then PARSE the JSON string and store it on a variable, then i try to recover the inventory from that variable.
The proccess is the one that comes on the wiki: Inventory [GDevelop wiki]
so please don’t refer to that because i have readed it tons of times.
For any help, thank you.