Matt;
I went back and the telephoned extension.
It has the added line already included.
It worked when tested separately, so I then cut the code into my program.
Even with explicitly specified phone / person locations (except for the player), the code still can’t “see” Jane.
I’m starting to believe there is a collision going on that I’m not able to detect/see.
(P.S. I’ll have another look for the missing example, then log an issue if I can’t find it.)
Here are the relevant code sections:
Include Telephones by George Tryfonas.
[code]Book 7 - Telephones
The switchboard is a room.
The white phone is a telephone in the switchboard. The calling number of the white phone is 1357.
Jane is a woman in the switchboard. The owner of the white phone is Jane.
Before telling Jane about something:
try asking the noun about it instead.
Before answering Jane that something:
say “Best to confine your conversation to questions and answers.” instead.
Before asking Jane about something:
if the topic understood is a topic listed in the Table of Jane Conversation, say “[reply entry][paragraph break]” instead;
otherwise say “[The noun] does not reply.” instead.
After asking Jane about something:
if the topic understood is a topic listed in the Table of Jane Conversation:
if the clue entry is 1, record “Clue 2” as achieved.
Table of Jane Conversation
topic reply clue
“message/messages” “‘There was one call, sir. I remember it, because of the time.’, says Jane.” 0
“time/when” “‘At one, sir.’, replies Jane.” 1
“test” “‘This is a test, sir.’, replies Jane.” 1
Table of Misdialled Numbers (continued)
number retort
1471 “The number that last called you is not available.”
999 “In this country, making prank calls to the police is frowned upon.”
[/code]
Book 5 - Far Wall (Room)
The far wall is a room. "An old wooden desk desk stands here. The window behind it is opaque with years of dust.". The far wall is north of the centre. The printed name of the far wall is "By the window".
[code]Part 2 - Black Telephone
The black phone is a telephone which is scenery in the far wall. The description of the black phone is “A black phone sits on the desk. It’s a pretty typical 1950’s style rotary dial model. You notice that the phone number, which one usually sees in the centre of the dial, is missing. This guy must really be paranoid!”.
Before examining the black phone when Vorple is supported:
display image “Telephone.jpg”, centered.
[/code]
Here is the output of the full-up program:
[code]Menu:
(type one of the following)
- About
- Credits
- Introduction
- Play
4
The entrance
You are standing in the entrance of a detectives office. The office is obviously old and dust lies everywhere. Here, it seems, you have found your mark: file-boxes line the left wall, a dark carpet lies on the floor in the centre of the room, and an old record player sits on a side-table against the right wall. The thing you were specifically told to look for, an old desk with three drawers, sits by the window against the far wall.
You can see some winged sneakers (in which is a canister) here.
f
The centre of the office
You are standing on a once beautiful old carpet with a peculiar motif. Strange … It’s not what you would have expected in a detectives office.
Player: The centre of the office.
Jane: switchboard.
f
By the window
An old wooden desk desk stands here. The window behind it is opaque with years of dust.
A battered old desk. The years have not been kind, and it has cracked and split in several places; the veneer is lifting and badly damaged. But, it is still a sound piece, and features three drawers.
On the desk are a desk blotter, a pen, a card, a nickel, a coffee cup (in which are a thick black fluid and a cigar tube) and a wooden egg.
Player: By the window.
Jane: switchboard.
ask jane about test
You can’t see any such thing.
[/code]