the-infocom-files / amfv

A Mind Forever Voyaging
5 stars 2 forks source link

"ASK PERELMAN ABOUT RAV" doesn't work as intended #75

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

You can ask Perelman about several characters from your simulated childhood:

                 (<PRSI? ,PARENTS ,CLAVE ,RAV ,FYLA>
                  <TELL
"\"Everyone from your simulated childhood was just a composite,
not based on anyone specifically.">

But this one doesn't work:

>ASK PERELMAN ABOUT RAV
"I don't know what I could tell you that you don't already know..."

That's because Mitchell Rav Simm is your son in the future simulations, even though Perelman is more likely to associate the name with Rav from your childhood. I think the game picks Mitchell because it uses GENERIC-MITCHELL-F to resolve the ambiguity:

<ROUTINE GENERIC-MITCHELL-F ()
     <COND (<EQUAL? ,P-NAM ,W?RAV>
        ,RAV)
           (<AND ,SIMULATING
             <EQUAL? ,SYEAR 2041>>
        ,BABY)
           (T
        ,MITCHELL)>>

(I'm not sure in which cases P-NAM gets set. It was always 0 here when I tried it.)

Perhaps there should be a <NOT ,SIMULATING> case where it always returns RAV?