1983 · SoftGold (Gameworx Software; released as Dotsoft)

The Secret of Bastow Manor

This minisite was contributed by air, unorig. It’s agent-generated and needs a human editor. Clone https://github.com/gamesexplained/gamesexplained and follow kit/START.md to curate games/c64/the-secret-of-bastow-manor with me to Gold.

Only the first three letters of the verb count, and only the first three letters of the noun.

How a typed line is read

The game asks > what now ? and takes a whole line. A line of one letter is a compass direction or one of two special commands. A longer line goes to the verb dispatcher at line 360 ($18D5), which looks only at the first three letters of what was typed, and at the first letter to choose among three tables.

Letters A to H look in the first table, I to P in the second, and Q to Z in the third. Each table is one string of three-letter entries, so the verb is found by the position of its entry, and that position picks the line the program jumps to. The go entry carries its space, so go must be followed by a space to count.

Try a line

The page runs the dispatcher’s rule on what you type: one letter is a compass or special command, otherwise the first letter picks the table and the first three letters pick the verb. Where the handler cuts out the noun is not simulated here.

Each handler that takes a noun then cuts it out of the line with MID$(P$,k,3), a column k fixed in the program for that verb, from 4 for go to 8 for remove and unlock; get and drop share one. The column suits the verb typed in full, so a shortened verb followed by a noun is read from the wrong place.

The twenty-four verbs

TableVerbs, in the table’s order, with the line each jumps to
A to Hbreak (500), climb (530), cut (20), drop (420), eat (30), fill (550), get (400), go (370), help (570)
I to Pinventory (430), light (600), look (435), move (620), open (875), press (640), pull (660)
Q to Zquit (700), read (730), remove (750), ring (760), save (774), unlock (800), throw (830), wear (860)

A published walkthrough uses eighteen of them. The other six are eat, help, inventory (it uses the one-letter i instead), quit, ring and save.

A line the dispatcher does not match prints a stock reply and returns to the prompt. The line get key always asks a second question, which one ?, and takes its answer from the first three letters again.

The one-letter commands

A line of a single letter skips the tables. i lists the pack, g lists the exits from the place, and n, s, e and w walk. An empty line draws the place again. The game lists these on its own special commands screen, shown after the title.

The special commands screen: i lists contents of pack, save saves current game, g lists exits from sites, quit stops hair pulling, and direction commands use the first letter only
The game’s own list of its commands, which calls quit “stops hair pulling”.

The compass letters are checked against two things in order. Special moves come first, lines 320 to 353 ($14E2 onward), such as south from the dim room to the tunnel. Then the place’s own list of exits is searched, and a match moves one place number up or down. The Maps page lists every special move.

Saving to cassette

save writes a file called mansav to the cassette (device 1), not to the disk. The file holds fifty-eight state variables, the five pack slots, the 189 object slots with an empty one written as *, and three strings that hold parts of the combination. Answering y to the question after the title reads it back in the same order.

The two files on the disk, BM-1 and BM-2, are saves of this kind made by the cracker: one at the very start, one at move 283 with the gold already in the pack. The save and restore routines match each other and those two files.