the-infocom-files / seastalker

Seastalker
3 stars 3 forks source link

"WALK AROUND AQUADOME" prints no response if it fails #47

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago
>LOOK
(east part)
You're in the east part of your laboratory. A doorway leads out through a
corridor to the office of your lab assistant, Sharon Kemp. A Microwave Security
Scanner stands against the wall. An intercom sits on the lab desk.

>WALK AROUND AQUADOME

>

That's because of this in AQUADOME-F:

       (<VERB? WALK-AROUND>
    <COND (<AND <GO-NEXT ,IN-DOME-AROUND> <NOT <==? ,WINNER ,PLAYER>>>
           <OKAY>)>
    <RTRUE>)

IN-DOME-AROUND defines two routes around the Aquadome:

<GLOBAL IN-DOME-AROUND
 <PLTABLE FOOT-OF-RAMP OUTSIDE-ADMIN-BLDG OUTSIDE-COMM-BLDG OUTSIDE-WORKSHOP
     OUTSIDE-DORM FOOT-OF-RAMP  ;"preceding for WALK AROUND DOME"
    AIRLOCK AIRLOCK-WALL CENTER-OF-DOME BLY-OFFICE DOME-STORAGE
    COMM-BLDG GALLEY WORKSHOP DOME-LAB WOMENS-QUARTERS MENS-QUARTERS>>

Note that the first one is closed: It begins and ends at FOOT-OF-RAMP.

The second one is not closed: It begins at AIRLOCK and ends at MENS-QUARTERS. That means that you get the same non-response if you start there:

>LOOK
(male dorm)
You're in the male dorm. In each corner of the room is a bunk and locker. In the
center of the room are a table and chairs.
Tip is here.

>WALK AROUND AQUADOME

>

So there are two bugs: You get no response if you start in a room that's not in either route, and you also get no response if you start at MENS-QUARTERS. For the second one, it should be enough to just add AIRLOCK to the second route to close it. For the first one, the action routine should print an appropriate message. Perhaps by calling YOU-CANT with the appropriate parameters.