Here’s the latest source, adapted and made adaptive for 6L02. I’d like to have some people look over it before I submit to the archive, but I believe I have all the bugs worked out from converting it to the new version of Inform. So if you’re interested, please let me know how it goes, or paste a transcript!
Changelog:
In release 3.14, I have:
- further cleaned up the code;
- added a [/b] shortcut for ending the boldfacing in the room long descriptions;
- written more comments and better heading names;
- normalized the tables to line up under the new elastic tabs option;
- added syntax to support naturalistic truth value names, thanks to Ron Newcomb;
- folded in only the relevant bits of Emily Short's Locksmith extension, to reduce memory footprint;
- and adjusted for Inform build 6L02, including:
- made all in-world text adaptive, and
- added a "change the style" command to adopt a random tense and viewpoint.
Also, I added a new style command, just for fun:
[spoiler]Adventure
Colossal Cave by William Crowther, ported by Chris Conley
Release 3 / Serial number 140527 / Inform 7 build 6L02 (I6/v6.33 lib 6/12N) SD
Welcome to Adventure!! Would you like instructions?
n
(Type ABOUT for details about this specific Inform 7 implementation.)
You are standing at the end of a road before a small brick building. Around you is a forest. A small stream flows out of the building and down a gully.
>change the style
OK, I will now speak in first person plural, past tense.
>l
Sorry, but I am not allowed to give more detail. I will repeat the long description of our location.
We were standing at the end of a road before a small brick building. Around us was a forest. A small stream flowed out of the building and down a gully.
>e
We were inside a building, a well house for a large spring.
There were some keys on the ground there.
There was a shiny brass lantern nearby.
There was food there.
There was a bottle of water there.
>get all
keys: OK.
lamp: OK.
food: OK.
bottle of water: OK.
>change the style
OK, I will now speak in third person plural, past tense.
>xyzzy
It was pitch black. If they proceeded they were likely to fall into a pit.
>light
(the lamp)
Their lamp was then on.
>l
Sorry, but I am not allowed to give more detail. I will repeat the long description of their location.
They were in a debris room, filled with stuff washed in from the surface. A low wide passage with cobbles became plugged with mud and debris here, but an awkward canyon led upward and west.
A note on the wall said ‘Magic word XYZZY’.
A three foot black rod with a rusty star on an end lied nearby.
>w
They were in an awkward sloping east/west canyon.
>w
They were in a splendid chamber thirty feet high. The walls were frozen rivers of orange stone. An awkward canyon and a good passage exited from east and west sides of the chamber.
A cheerful little bird was sitting there singing.
>change the style
OK, I will now speak in second person plural, future tense.
>get bird
You will be able to catch the bird, but you will not be able to carry it.
>e
You will be in an awkward sloping east/west canyon.
>e
You will be in a debris room, filled with stuff washed in from the surface. A low wide passage with cobbles will become plugged with mud and debris here, but an awkward canyon will lead upward and west.
A note on the wall will say ‘Magic word XYZZY’.
A three foot black rod with a rusty star on an end will lie nearby.
>e
You will be crawling over cobbles in a low passage. There will be a dim light at the east end of the passage.
There will be a small wicker cage discarded nearby.
>get
(the small wicker cage)
OK.
>w
You’ll be in Debris Room.
A three foot black rod with a rusty star on an end will lie nearby.
>w
You will be in an awkward sloping east/west canyon.
>w
You’ll be in Bird Chamber.
A cheerful little bird will be sitting there singing.
>get
(the little bird)
OK.
>w
At your feet will be a small pit breathing traces of white mist. An east passage will end here except for a small crack leading on.
Rough stone steps will lead down into the pit.
>w
The crack will be far too small for you to follow.
You’ll be at Top of Small Pit.
Rough stone steps will lead down into the pit.
>d
You will be at one end of a vast hall stretching forward out of sight to the west. There will be openings to either side. Nearby, a wide stone staircase will lead downward. The hall will be filled with wisps of white mist swaying to and fro almost as if alive. A cold wind will blow up the staircase. There will be a passage at the top of a dome behind you.
Rough stone steps will lead up the dome.
>d
You will be in the Hall of the Mountain King, with passages off in all directions.
A huge green fierce snake will bar the way!
>drop bird
The little bird will attack the green snake, and in an astounding flurry will drive the snake away.
[/spoiler]
Advent 314.z8 (504 KB)