Re: Inform: Changing names of actors.


24 Oct 1995 11:17:13 GMT

Adrian Preston <te_s343@kingston.ac.uk> wrote:
> [how to change a character's name]

Object James "young man"
has animate
! has proper if you know his name
with name "young" "man" "james" "jamie" "jimmy" "jim",
short_name [;
if (self hasnt proper) print "young man";
else print "James";
rtrue;
],
describe [;
print_ret "^", (The) self, " is pacing upon and down here.";
],
life [;
Ask,Answer:
if (self hasnt proper) {
give self proper;
"~Hello, I'm James,~ he says.";
}
];

--
Gareth Rees