the-infocom-files / amfv

A Mind Forever Voyaging
5 stars 2 forks source link

I-CAFETERIA isn't turned off during the endgame #64

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

The cafeteria tables are described as empty during the siege:

<ROUTINE CAFETERIA-TABLE-DESC ()
     <TELL "The tables below you are ">
     <COND (,SEIGE
        <TELL "totally vacant.">)

Yet the messages about the cafeteria filling with people are still printed by I-CAFETERIA:

>EXAMINE TABLES
The tables below you are totally vacant.

>WAIT
Time passes...

The room begins to fill with mealtime crowds.

>EXAMINE TABLES
The tables below you are totally vacant.

Perhaps CAFETERIA-F should check the SIEGE flag before starting it. Currently it doesn't:

<ROUTINE CAFETERIA-F (RARG)
         <COND (<EQUAL? .RARG ,M-ENTER>
                <MOVE ,CHAIR ,HERE>
                <QUEUE I-CAFETERIA -1>)

To be really safe, I guess I-CAFETERIA should check too, the same way it checks if you're no longer in the cafeteria.