Here's how the code looks in the manual...
Object replicator "replicator"
with name "replicator",
grammar [; return 'rc,'; ],
orders
[; Give:
print_ret "The replicator serves up a cup of ",
(name) noun, " which you drink eagerly.";
default: "The replicator is unable to oblige.";
],
life
[; Ask, Answer, Tell: "The replicator has no conversation skill.";
],
has talkable;
Nearby earl_grey "Earl Grey tea" with name "earl" "grey" "tea";
Nearby brandy "Aldebaran brandy" with name "aldebaran" "brandy";
Nearby water "distilled water" with name "distilled" "water";
...
Verb "rc," * held -> Give;
When I tried this, inform gave me an error. It said "Error: Unknown
directive: "."
So I removed the "..." from the code, and it compiled with no errors.
However then it wouldn't take any commands (in the game) when I tried to
get it to give me water or anything.
How do I get it to work?
kidd
-- kidd@bitstream.net http://www2.bitstream.net/~kidd/