Skip to content

Commit

Permalink
fix: ๐Ÿ› fix north of streets and city
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigograca31 committed Apr 24, 2020
1 parent 53d35ac commit b3fd0f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/adv.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,25 @@ def clear(): return os.system('cls' if os.name == 'nt' else 'clear')
chamber! Sadly, it has already been completely emptied by
earlier adventurers. The only exit is to the south.""",
),
"corona": Room("Streets", "Corona virus infested streets ๐Ÿ‘‘๐Ÿฆ ๐Ÿ›ฃ๏ธ,\nPlease use a mask ๐Ÿ˜ท", True),
"streets": Room("Streets", "Corona virus infested streets ๐Ÿ‘‘๐Ÿฆ ๐Ÿ›ฃ๏ธ,\nPlease use a mask ๐Ÿ˜ท", True),
"city": Room("City", "Corona virus infested city ๐Ÿ‘‘๐Ÿฆ ๐Ÿ™๏ธ, \nPlease use a mask ๐Ÿ˜ท", True),
}


# # Link rooms together

room["outside"].n_to = room["foyer"]
room["outside"].s_to = room["corona"]
room["outside"].s_to = room["streets"]
room["foyer"].s_to = room["outside"]
room["foyer"].n_to = room["overlook"]
room["foyer"].e_to = room["narrow"]
room["overlook"].s_to = room["foyer"]
room["narrow"].w_to = room["foyer"]
room["narrow"].n_to = room["treasure"]
room["treasure"].s_to = room["narrow"]
room["corona"].s_to = room["city"]
room["streets"].s_to = room["city"]
room["streets"].n_to = room["outside"]
room["city"].n_to = room["streets"]


room["outside"].items.append(Item("sword", "Long Sword"))
Expand Down
2 changes: 1 addition & 1 deletion src/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __str__(self):
self.name
+ " has "
+ str(self.score)
+ " score"
+ " points"
+ " and is at: "
+ self.current_room.name
+ ", "
Expand Down

0 comments on commit b3fd0f7

Please sign in to comment.