Working inventory() function
Farther on textadventure.cpp