story = [
{scene: 0, description: "You face a choice. You see a <strong>hallway</strong> on your left, and a <strong>stairwell</strong> on your right. What will you do? ", img:await FileAttachment("one.png").url(), choices:[
{
id: 1,
label: "turn left",
description: "You turn left and go down the hall",
gotoScene: 1
},
{
id: 2,
label: "turn right",
description: "You turn right and climb the stairs",
gotoScene: 2
}
]},
{scene:1, description: "You enter a hallway. There's a big dragon here. Uh Oh.", img: await FileAttachment("two.png").url(),
choices:[
{
id: 3,
label: "face dragon",
description: "you've faced the dragon - you win! -- let's start again!",
gotoScene: 0
},
{
id: 4,
label: "run away",
description: "you're scared - you lose -- let's start over! ",
gotoScene: 0
}
]},
{scene: 2, description: "You eventually reach a dark and smelly room. There's a goblin here. Oh no!", img: await FileAttachment("three.png").url(),
choices:[
{
id: 5,
label: "face goblin",
description: "you've faced the goblin -- you win! let's start over",
gotoScene: 0
},
{
id: 6,
label: "run away",
description: "you try to run away but the goblin eats you. Let's start over",
gotoScene: 0
}]}
]