Multiple Exits
version 4/080915 by Mikael Segercrantz
Example: * The Forest of Adventure - A part of the above ground section of the Crowther & Woods classic, with some changes.
"The Forest of Adventure"
Include Version 2 of Multiple Exits by Mikael Segercrantz.
Use full-length room descriptions.
Let us declare the rooms first:
In_Forest_1 is a room with printed name "In Forest". "You are in open forest, with a deep valley to one side. Not far is a large billboard."
In_Forest_2 is a room with printed name "In Forest". "You are in open forest, near both a valley and a road."
In_Forest_3 is a room with printed name "In Forest". "You are in dense forest, with a hill to one side. The trees appear to thin out towards the north and east."
In_Forest_4 is a room with printed name "In Forest". "You are in dense forest, stretching all around you."
Now we create the normal exits between the rooms:
South of In_Forest_1 is In_Forest_1. West of In_Forest_1 is In_Forest_4.
South of In_Forest_2 is In_Forest_1.
South of In_Forest_3 is In_Forest_1.
East of In_Forest_4 is In_Forest_3.
Let's remove the unnecessary exits:
West of In_Forest_3 is nowhere. North of In_Forest_1 is nowhere.
And then the tables:
Table of North Exits from In_Forest_1
| loci | |
| In_Forest_1 | |
| In_Forest_2 |
Table of North Exits from In_Forest_4
| loci | |
| In_Forest_2 | |
| In_Forest_3 |
Table of South Exits from In_Forest_4
| loci | |
| In_Forest_2 | |
| In_Forest_4 |
Table of West Exits from In_Forest_4
| loci | |
| In_Forest_3 | |
| In_Forest_4 |
Let's attach them to the properties:
The exits north of In_Forest_1 is the Table of North Exits from In_Forest_1.
The exits north of In_Forest_4 is the Table of North Exits from In_Forest_4.
The exits south of In_Forest_4 is the Table of South Exits from In_Forest_4.
The exits west of In_Forest_4 is the Table of West Exits from In_Forest_4.
Since there's so much that is random, we do not provide a test command.