Equipment and items in the inventory now save


I finally figured out what was wrong with saving and loading the equipment and inventory. I had to put the scripts on another object, but when you loaded the inventory, the item was no longer recognized as the item it was. It had all the properties, but lost its type and the item itself was no longer recognized. So, I had to make an array of all the items and swap the item that was not loading correctly with that same item by name. Now it works.

Files

The Legend of Sigurd v08.zip 29 MB
Jan 28, 2022

Get The Legend of Sigurd

Leave a comment

Log in with itch.io to leave a comment.