Overrides on_key_press so that when the inventory shortcut key is
pressed, opens the inventory. Otherwise, delegates to the parent
on_key_press method.
Reduces money by the item’s price, removes the item from the shop inventory,
and (if InventoryMixin is also being used) adds the item to the player’s inventory.