So... right now we've got a player that can swap between layers as much as they feel like it. But we want it so that only the enemies respawn when the player goes back to a previously visited layer. Items that they've picked up (keys, money) don't respawn. But if they haven't picked up that item before... the item should be there.
I know I could do this by making a long list of all the items and put a 'check' if the player has grabbed it in the past and then destroy it on startup if the player has gotten it. But this seems like it would be rather resource intensive, not to mention being a royal pain to implement.
Is there an easy way to accomplish this? Or a better method? I'm all for using other people's experiences and knowledge!