Skip to content

Commit

Permalink
you can now type i or inv for inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
colebrooke committed Dec 10, 2017
1 parent 24ac2b9 commit 060949b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adventure.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def look ():
elif (userinput == "se") or (userinput == "south east"): direction = "se"; move ( direction, userid )

# Inventory
elif (userinput == "i") or (userinput == "inventory"): inventory ()
elif (userinput == "i") or (userinput =="inv") or (userinput == "inventory"): inventory ()

# Take / Pick up
elif re.match ( r'^take', userinput ) or \
Expand Down

0 comments on commit 060949b

Please sign in to comment.