Oh geez its pretty complicated. I'd say look into Maps and create a sort of dictionary of items and attributes. Also, for weapons, that's a little different. I created a scene behavior that also acts like a dictionary of programmed actions for the player to go through depending on the weapon equipped. It's a lot of work but its worth it.
Inventory is yet another monster....
... but possible.