the-infocom-files / amfv

A Mind Forever Voyaging
5 stars 2 forks source link

The children in ATHLETIC-FIELD are visible even when they shouldn't be #58

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

This is a very minor point, but when you enter the Athletic Field the condition for if you see children there is like this:

<ROUTINE ATHLETIC-FIELD-F (RARG)
     <COND (<AND <EQUAL? .RARG ,M-ENTER>
             <EQUAL? ,SYEAR 2061 2071>
             <EQUAL? ,LIGHT-LEVEL 3>>
        <QUEUE I-ATHLETIC-FIELD 1>)

I-ATHLETIC-FIELD prints the message about the children being there.

But in CHILDREN-F, the condition looks like this:

           (T
        <COND (<AND <NOT <EQUAL? ,SYEAR 2061 2071>>
                <NOT <MOBY-VERB?>>>
               <CANT-SEE ,CHILDREN>)
              (<VERB? EXAMINE>
               <TELL
"The children are all uniformed and are wearing pendants with the symbol
of the Church." CR>)>)>>

So you can examine them even when they aren't there.

Perhaps the LIGHT-LEVEL check should be added here as well? To be extra sure, perhaps it should check if LIGHT-LEVEL is 3, or if I-ATHLETIC-FIELD is running so that the children don't vanish in mid-stoning.

The children are also visible at the Zoo, but it seems the children can appear at any time of day in 2061. Oh well, apparently the Zoo never closes and that being there does not technically violate the curfew...

eriktorbjorn commented 4 years ago

In case anyone's curious, this is what I've gleaned about LIGHT-LEVEL:

0 - Night 1 - Early dawn / Late dusk 2 - Sunrise / Sunset 3 - Day

The exact times for this depend on the month. Comments in I-SUNRISE-SUNSET note that days in June are 4 hours longer than in January. Yes, the game goes into that much detail!

So the children in the Athletic Field should only be visible during the day.