Inform prompt question and plea for help


17 Dec 1995 09:55:21 GMT

How does one change the prompt? Looking at the Inform
manual it looked like a matter of of creating a
LibraryMessages object with a new Prompt routine. This
did not work:

Object lm "LibraryMessages"
with before [;
Prompt: { print "^->"; rtrue; };
];

It is defined between the loading of Parser and VerbLib.

Now for my plea for help.

I want to create a Shoot verb which fires into an adjacent
room. I figured, go look at the code for "Walk" and move
the projectile instead of the player. Problem: I do not
understand the code to "Walk". I keep wondering how the
intended direction gets passed in, among other things.

So, how does it work?

Elijah
------
rewriting an old game for inform