press I to open inventory, press S to open spellbook