I’m having trouble with quicktest , I am running it via CSIDE.
I am getting the error
QUICKTEST FAILED
Error: lecture line 70: It is illegal to fall out of a *choice statement; you must *goto or *finish before the end of the indented block.
The code works though and I can’t see anything wrong:
#Downstairs
*goto downstairs
The fuller version is this
#Ask lecturer a question
You push your way to the front of the crowd and the professor agrees to take one more question before he leaves. “You mentioned that the Tanzanian location may have been explored previously?” “Yes indeed, Randolph Marsh was the inspiration for our Himalayan quest and he did subsequently travel also to Tanzania”.
*choice
#Go to bar
*goto bar
#Go upstairs
At the top of the stairs is a statue of Pixiu, a lions head with a dragons body. You stroke it’s head down to the tail for luck. To the left is the club’s museum and to the right the shop. It’s shutter is up and it is open for business.
*choice
#Museum
*set museum true
The adventurers museum is utterly chaotic. Stuffed birds, flying animals and various mobiles hang from the ceiling. The walls are covered in maps, charts, paintings and photographs and everywhere are glass cases and shelves loaded with discoveries and equipment. It is a tribute and a treasure trove, albeit in need of a good dusting and proper cataloging. You rapidly scan the cases and soon you find one labeled Randolph Marsh. In the case is a blowgun and dart, a pith helmet with an arrow sticking out of it and what looks like a dried apple of some kind.
*choice
#Examine blowgun
*set map true
*set empty_inventory false
The blow gun has been decorated beautifully with intricate patterns of butterflies and flowering vines. Holding it up to inspect the bore you are surprised to see that there is a roll of paper inside! With a puff the rolled up paper is shot from the gun and you retrieve it. On unraveling it you can see that it is a map! In a spidery script is written “The Forbidden City”. Before you can take in any detail you can hear someone coming up the stairs. You quickly put the map in your inside pocket and stand in front of the case with your back to the stairs, hoping this covers your movements as you put the blowgun back. A bell rings. The club will be closing soon.
*choice
#Shop
*gosub shop
#Examine apple
The apple has a leathery feel and is pleasantly squashy. As you turn it in your fingers you feel some rough stitches. You look closer and a small face looks back at you, the eyes and lips of the shrunken head sewn shut. You return him to the case and make a note to wash your hands as soon as possible. A bell rings. The club will be closing soon.
*choice
#Shop
*gosub shop
#Examine helmet
You turn the pith helmet upside down and look inside. The tip of the arrow has just pierced through. Undoubtedly this helmet saved the life of the wearer. A bell rings. The club will be closing soon.
*choice
#Shop
*gosub shop
#Shop
*gosub shop
#Downstairs
*goto downstairs
#Follow the four