Pick up all of the items! Use arrow keys to move around. Press "Space" when near the items to put them in inventory.
This is an inventory system I created using lists, a sub-category of variables that helps you create small little menus like inventories.