Inventory code optimized, now more legible

new bugs may have been introduced :/
Needed Commit
Updated Abilities Menu to New Version and Format