I am in the process of creating a sentient chest that follows you around and opens up when you interact with the character. I made this by creating a proxy object that serves as the chest storage which is hidden and not able to be seen by the player. This works pretty well except for when I want to go to a different map. The solution I have thought of is taking the items that are available in the proxy object to the character and then to the proxy object in the next map. The second part is easy as I can use the <character>. inventory while loops and remove and add items. Anyways, I need a way to check the items that are present in an object so I can transfer them into the character's inventory. How would I be able to do this?
Thanks