I'm curious how you found the boolean for containerOpenedPreviously. I found the addresses for a container's contents, but I didn't see any bits change nearby when I opened it. I did a trace of opening a new container and then opening the same container again, and diffed the traces, but couldn't locate the line that set the flag.
How to use this cheat table?
Install Cheat Engine
Double-click the .CT file in order to open it.
Click the PC icon in Cheat Engine in order to select the game process.
Keep the list.
Activate the trainer options by checking boxes or setting values from 0 to 1