* turns after the last treasure has been located (including the pirate's
* chest, which may of course never show up). Note that the treasures need not
* turns after the last treasure has been located (including the pirate's
* chest, which may of course never show up). Note that the treasures need not
* out of the cave (it only ticks while inside the cave). When it hits zero,
* we branch to 10000 to start closing the cave, and then sit back and wait for
* out of the cave (it only ticks while inside the cave). When it hits zero,
* we branch to 10000 to start closing the cave, and then sit back and wait for
* 11000 to transport him into the final puzzle. Note that the puzzle depends
* upon all sorts of random things. For instance, there must be no water or
* oil, since there are beanstalks which we don't want to be able to water,
* 11000 to transport him into the final puzzle. Note that the puzzle depends
* upon all sorts of random things. For instance, there must be no water or
* oil, since there are beanstalks which we don't want to be able to water,
/* When the first warning comes, we lock the grate, destroy the bridge, kill
* all the dwarves (and the pirate), remove the troll and bear (unless dead),
/* When the first warning comes, we lock the grate, destroy the bridge, kill
* all the dwarves (and the pirate), remove the troll and bear (unless dead),
* from now until clock2 runs out, he cannot unlock the grate, move to any
* location outside the cave, or create the bridge. Nor can he be
* resurrected if he dies. Note that the snake is already gone, since he got
* from now until clock2 runs out, he cannot unlock the grate, move to any
* location outside the cave, or create the bridge. Nor can he be
* resurrected if he dies. Note that the snake is already gone, since he got
* At the ne end, we place empty bottles, a nursery of plants, a bed of
* oysters, a pile of lamps, rods with stars, sleeping dwarves, and him. At
* the sw end we place grate over treasures, snake pit, covey of caged birds,
* At the ne end, we place empty bottles, a nursery of plants, a bed of
* oysters, a pile of lamps, rods with stars, sleeping dwarves, and him. At
* the sw end we place grate over treasures, snake pit, covey of caged birds,
* objects come from known locations and/or states (e.g. the snake is known to
* have been destroyed and needn't be carried away from its old "place"),
* making the various objects be handled differently. We also drop all other
* objects come from known locations and/or states (e.g. the snake is known to
* have been destroyed and needn't be carried away from its old "place"),
* making the various objects be handled differently. We also drop all other