From 0268f5cd06e50a9014796e90868054a067af4389 Mon Sep 17 00:00:00 2001 From: Morgan Diment <dimentm@cardiff.ac.uk> Date: Tue, 25 Oct 2022 19:10:20 +0100 Subject: [PATCH] very minor changes --- Group_game/level_2.py | 15 +++++++++++---- Group_game/map.py | 4 ++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Group_game/level_2.py b/Group_game/level_2.py index 76e1ec0..12efbaf 100644 --- a/Group_game/level_2.py +++ b/Group_game/level_2.py @@ -13,31 +13,38 @@ def drink_wine(): counter = 0 while counter < 3: if counter < 1: + time.sleep(1) print('You drink a glass of the wine, but have not got much closer the clue.') print('Would you like to drink another glass?') print('YES or NO') - more = str(input()) + more = str(input('> ')) if more == 'yes': counter += 1 else: counter = 3 elif counter == 1: + time.sleep(1) print() print('You enjoy a second glass of wine, but can not see the bottom yet.') print('Would you like to drink another glass?') print('YES or NO') - more = str(input()) + more = str(input('> ')) if more == 'yes': counter += 1 else: counter = 3 else: + time.sleep(1) print() print('You pass out from too much alchohol consumption.') - print('You wake up 5 minutes later on the floor.') + print('You wake up 5 minutes later on the floor of the wine cellar.') + time.sleep(1) + print('...') counter += 1 - time.sleep(5) + time.sleep(4) # time_taken = time_taken - 360 + # remove wine from inventory + def close_valve(): diff --git a/Group_game/map.py b/Group_game/map.py index b249f02..741d358 100644 --- a/Group_game/map.py +++ b/Group_game/map.py @@ -66,7 +66,7 @@ location_door = { location_entrance = { "name": "level 2 Entrance", - "description": "you find yourself in another level of the basement." + "description": "You find yourself in another level of the basement. " "It takes a minute for your eyes to adjust to this new, brighter room. In this room there is a trap door with stairs leading to it with a desk underneath the stairs. There are multiple different rooms leading away. Once again you have 20 minutes, be careful and good luck.", "exits": {"north": "wine cellar", "west": "storage room", "south": "boiler room", "east": "trap door", "south-east": "desk", "downstairs": "door"}, @@ -80,7 +80,7 @@ location_winecellar = { "exits": {"south": "entrance"}, - "items": [] + "items": [item_winebottle] } location_storage = { "name": "Storage Room", -- GitLab