the-infocom-files / deadline

Deadline
4 stars 3 forks source link

Wrong message when not everyone present at the will reading #44

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

As noted in Nathan's Infocom bugs list, if you enter the house late enough (sometimes after 11:20, apparently?), Mrs Robner may never make it to the Living Room in time for the reading of the will.

That is of course a bug. I don't know if you can arrange it so that she'll scold you for being late. i wasn't able to when I tried it. But this check in I-WILL-READING is at the very least wrong:

              (<G? ,PRESENT-TIME 760>
               <TELL
"\"It's late, so let's begin!\" Coates says." CR>)
              (,WILL-HOLD
               <TELL
"\"Ah!\" Mr. Coates says, \"Everybody's here now.\"" CR>)>

Because earlier it checked this to see if Mr Coates should wait:

     <COND (<AND <L? ,PRESENT-TIME 760>
             <OR <NOT <IN? ,MRS-ROBNER ,LIVING-ROOM>>
             <NOT <IN? ,DUNBAR ,LIVING-ROOM>>
             <NOT <IN? ,BAXTER ,LIVING-ROOM>>
             <NOT <IN? ,GEORGE ,LIVING-ROOM>>>>

So PRESENT-TIME isn't greater than 760 (12:40), it's equal to 760.

Of course, ideally Mrs Robner should never be absent.