File size: 422 Bytes
86b351a
 
 
 
4310b90
86b351a
4310b90
86b351a
 
 
 
 
 
 
4310b90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
story = {
    "start": {
        "text": "You wake up in a mysterious forest. What do you do?",
        "image": "forest.jpg",
        "choices": {"Explore": None, "Wait": None},
        "music_tone": "neutral",
        "img_description": "forest in the fog",
    },
}

state = {"scene": "start"}

def get_current_scene():
    scene = story[state["scene"]]
    return scene["text"], scene["image"], scene["choices"].keys()