Hi ! When I save, the player's inventory is also saved and, inevitably, so are the items in it. Items have a Resource dedicated to them, and in this Resource, there's a variable for the amount of the item in the inventory. Except that when I save, the items are saved as ExtResource and the amount returns to its initial value. Does anyone know how to prevent this variable from being reset ?
#Saving ExtResource
1 messages · Page 1 of 1 (latest)
Where are you saving the resources to? The res:// directory is read-only to the game, and will be reset when the game is restarted