add more options in home and story file

This commit is contained in:
2024-04-04 03:51:16 +02:00
parent 084310d8a1
commit 7972b5ceea
2 changed files with 10 additions and 1 deletions
+7 -1
View File
@@ -12,7 +12,7 @@
"story": "", "story": "",
"moves": [ "moves": [
{"name": "Back Home", "place": "home"}, {"name": "Back Home", "place": "home"},
{"name": "To the Left", "place": ""}, {"name": "To the Left", "place": "cave_entrens"},
{"name": "To the Right", "place": ""}, {"name": "To the Right", "place": ""},
{"name": "Down to the River", "place": "river"}, {"name": "Down to the River", "place": "river"},
{"name": "To a Old Farm", "place": "old_farm"} {"name": "To a Old Farm", "place": "old_farm"}
@@ -23,6 +23,9 @@
"home": { "home": {
"story": "" "story": ""
}, },
"cave_entrens": {
"story": ""
},
"river": { "river": {
"story": "" "story": ""
}, },
@@ -38,5 +41,8 @@
], ],
"Items": [ "Items": [
],
"Animals": [
] ]
} }
+3
View File
@@ -2,3 +2,6 @@
class Home: class Home:
def __init__(self): def __init__(self):
self.items = [] self.items = []
def look_into_mirror(self, player):
return ""