From b1886ac0a21735bcada46abec0ba870c89c7d231 Mon Sep 17 00:00:00 2001 From: Morgan Diment <dimentm@cardiff.ac.uk> Date: Mon, 24 Oct 2022 15:02:15 +0100 Subject: [PATCH] few updates to game and map --- Group_game/game.py | 1 + Group_game/map.py | 35 ++++++++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/Group_game/game.py b/Group_game/game.py index 76bbf92..5e90a43 100644 --- a/Group_game/game.py +++ b/Group_game/game.py @@ -5,6 +5,7 @@ from gameparser import * from datetime import datetime from items import * from level_1 import * +from level_2 import * start_time = "" global current_room global current_level diff --git a/Group_game/map.py b/Group_game/map.py index d39fd99..9d5eab9 100644 --- a/Group_game/map.py +++ b/Group_game/map.py @@ -72,6 +72,33 @@ location_entrance = { "items": [] } +location_winecellar = { + "name": "Wine Cellar", + + "description": "(description needed)", + + "exits": {}, + + "items": {} +} +location_storage = { + "name": "Storage Room", + + "description": "(description needed)", + + "exits": {}, + + "items": {} +} +location_boileroom = { + "name": "Boiler Room", + + "description": "(description needed)", + + "exits": {}, + + "items": {} +} level1 = { "fireplace": location_Fireplace, @@ -82,5 +109,11 @@ level1 = { "door": location_door } -level2 = {"entrance": location_entrance} +level2 = { + "entrance": location_entrance, + "wine cellar": location_winecellar, + "storage room": location_storage, + "boiler room": location_boileroom + +} levels = {"level 1": level1, "level 2": level2} -- GitLab