From 7972b5ceea3bd29af8040980bf1b9f4a93fb2998 Mon Sep 17 00:00:00 2001 From: Daniel Dolezal Date: Thu, 4 Apr 2024 03:51:16 +0200 Subject: [PATCH] add more options in home and story file --- Map/The Beginning.json | 8 +++++++- classes/MapObject/Home.py | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Map/The Beginning.json b/Map/The Beginning.json index 27418f5..1901a6c 100644 --- a/Map/The Beginning.json +++ b/Map/The Beginning.json @@ -12,7 +12,7 @@ "story": "", "moves": [ {"name": "Back Home", "place": "home"}, - {"name": "To the Left", "place": ""}, + {"name": "To the Left", "place": "cave_entrens"}, {"name": "To the Right", "place": ""}, {"name": "Down to the River", "place": "river"}, {"name": "To a Old Farm", "place": "old_farm"} @@ -23,6 +23,9 @@ "home": { "story": "" }, + "cave_entrens": { + "story": "" + }, "river": { "story": "" }, @@ -38,5 +41,8 @@ ], "Items": [ + ], + "Animals": [ + ] } \ No newline at end of file diff --git a/classes/MapObject/Home.py b/classes/MapObject/Home.py index 8f62515..12ab25f 100644 --- a/classes/MapObject/Home.py +++ b/classes/MapObject/Home.py @@ -2,3 +2,6 @@ class Home: def __init__(self): self.items = [] + + def look_into_mirror(self, player): + return ""