From 24ac2b96c89f9dd30d72449156579d961b678e40 Mon Sep 17 00:00:00 2001 From: Justin Miller Date: Sun, 10 Dec 2017 09:17:25 +0000 Subject: [PATCH 1/2] now you can type l to look --- adventure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adventure.py b/adventure.py index 8bbe9fd..b0eca22 100755 --- a/adventure.py +++ b/adventure.py @@ -721,7 +721,7 @@ def look (): elif re.match ( r'^examine', userinput ) or re.match ( r'^look at', userinput ): examine () # Look - elif (userinput == "look"): look () + elif (userinput == "look") or (userinput == "l"): look () # Where am I elif (userinput == "where am i"): where_am_i (userid) From 060949be79804491c5eb32b49f0e195dfb859ef0 Mon Sep 17 00:00:00 2001 From: colebrooke Date: Sun, 10 Dec 2017 09:35:41 +0000 Subject: [PATCH 2/2] you can now type i or inv for inventory --- adventure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adventure.py b/adventure.py index b0eca22..5802c53 100755 --- a/adventure.py +++ b/adventure.py @@ -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 \