the-infocom-files / trinity

Trinity
24 stars 5 forks source link

SWALL-F doesn't consider the Front Deck to be inside the wall #95

Open eriktorbjorn opened 4 years ago

eriktorbjorn commented 4 years ago

In SWALL-F, it sometimes makes a difference if you're inside or outside the stone wall, e.g. for "LOOK INSIDE WALL".

     <COND (<HERE? NWYARD NEYARD SWYARD SEYARD>
        <SET IN T>)>

But ON-PORCH isn't inside the wall, even though the wall is to the east of it. The Front Yard to the east of it even describes how "A ramp slopes up through a gap in the stone wall, ending on a raised deck.".

So shouldn't ON-PORCH be included here?

eriktorbjorn commented 4 years ago

Also, "LEAVE WALL" when in the Northeast Yard is a bit odd: It responds with "You're already outside."

This is because SWALL-F handles it as walking "OUT":

           (<EXITING?>
        <COND (<T? .IN>
               <DO-WALK ,P?OUT>
               <RTRUE>)>
        <NOT-IN>
        <RTRUE>)

In NEYARD it should probably try to walk you to the northeast instead (which doesn't work because the wall is in the way, but at least it makes sense), and in ON-PORCH it should walk you to the east.