I have been having two problems with the following code:
(intro)
(try [look])
(current player #player)
(#player is #in #land)
#land
(room *)
(singleton *)
(name *) land
(look *)
You are on land.
(from * go #up to #air)
#air
(room *)
(singleton *)
(name *) air
(look *)
You are high in the sky.
#balloon-animal
(item *)
(name *) balloon animal
(animate *)
(actor supporter *)
(* is #in #land)
(perform [tell * to go $Dir])
(* is in room $Room)
(from $Room go $Dir to room $)
(let * go $Dir)
And here is a transcript of a session:
Land
You are on land.
> get on balloon
You get onto the balloon animal.
> balloon, go up
The balloon animal disappears up.
> look
Land (on the balloon animal)
You are high in the sky.
I was not expecting to see “Land” with the description of the air when the PC is in the air. (If I go up without the balloon animal’s assistance, I see “Air” as expected.)
The other problem is that when I compile the code, I get this:
Warning: A query is made to '(program entry point)', but there is no matching rule definition.
And if I run it in a web browser, I see nothing, not even a command prompt. And the problem is not just with my code. When I compile the code of the minimal story found in The Dialog Manual, I encounter the same problem. This is a new development; such code used to compile into a playable game without complaint.