I have programmed in basic equippables , i do not randomly generate items yet (if you can’t tell by the armor named “test” armor)
I also do not do proper body covering calculations (right now they just grant defense bonuses to various attack types based on the piece and swords and stuff improve your power/attack based on the various elemental damage types.)
Eventually you will have to equip sets, eg a chestplate,helmet,armored pants, and shoes. And other stuff, like rings and amulets eventually.
Did i mention my game also has full mouse control?
You just click on items in your inventory and the action to do interactions.
You will also notice i can “consume” my fire sword, obviously horrible things happen when you try to swallow swords, that just happened because of how I coded my inventory items, it can handle pretty much any interaction. Including using non-weapons as weapons if you so desire with proper debuffs.
Happy roguelikeing 🙂