im not the best at coding so i recorded my screen, but the red parts are only here:
also, another bug I encountered, not recreatable cuz of my circumstances(lol):
So I put on a chasity belt by accident, then I found a key, so I used it to take the belt off. Then I got curious to why the item reappeared in my inventory and clicked it. It put the belt back on, and guess what, the key was broken. Now here's the problem, when I picked up new not-broken keys, it puts them in the same stack as the broken keys, increasing the number of the broken key item as I try to find where the "key" is until I realize there's no key and only a bunch of broken keys.