Thanks for your quick response! I actually tried to use Integer variables, thanks for confirming that this might be a way to do it.
Also thanks for the pointer to the lock-example, sounds like similar processes are needed for both puzzles.
SOLVED - I just rewatched the 2d primer and noticed, that the way inventory interaction works here functions if interaction method is set to "context sensitive". Indeed, it does, silly me.