the-infocom-files / deadline

Deadline
4 stars 3 forks source link

The calendar sometimes considers July 31 an invalid date #25

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago

If you keep turning the desk calendar, you'll eventually read July 31 and that's the end of it.

But you can also try:

>READ JULY 31
Why?  Is it your birthday?
It is open to July 7.
The only listing here is an appointment with Baxter at 2PM at the Robner Corp.
office.

>TURN TO JULY 31
Thirty days hath September,
April, June, and November,
All the rest have 31???
George is to the east, heading toward the east.

That's because it checks <G? ,P-NUMBER 30> in two places in DESK-CALENDAR-F.

(The "31" in the response to "TURN TO JULY 31" is the number you used. If you "TURN TO JULY 1000" it will ask "All the rest have 1000???" instead.)

eriktorbjorn commented 5 years ago

By the way, it would be nice it it accepted "TURN CALENDAR TO JULY 31", but apparently that's not valid syntax.