Remember how old text based adventures, and early adventure games allowed you to type actions to get the player character to interact with the world?
I want to do something similar, although I just want to be pointed in the right direction, I'd like to figure out the detail by myself, but what functions should I be looking into?
"What do you want to do to this barrel?"
Player types - Action
"Smash" - Player smashes barrel
"Climb" - Player climbs barrel
"Break" - Player breaks barrel (same as smash)
I am guessing I will need a list of action "words" for each interactive instance, but I don't know how I would implement it - how can you make player input text and then have that text be checked against a list of words?