Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!solaris.cc.vt.edu!news.vt.edu!news.netins.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!news-reader.ntrnet.net!uunet!ash.uu.net!world!buzzard
From: buzzard@world.std.com (Sean T Barrett)
Subject: Re: [Inform] Reparsing from a before routine
Message-ID: <GBJGF3.9wu@world.std.com>
Date: Mon, 9 Apr 2001 18:52:15 GMT
References: <9akq30$udb$1@news5.svr.pol.co.uk> <slrn9d11ab.nk.neilc@localhost.localdomain> <slrn9d3s0l.60.cerutti@fiad06.norwich.edu> <9asssm$5gs$1@news7.svr.pol.co.uk>
Organization: The World Public Access UNIX, Brookline, MA
Lines: 21
Xref: news.duke.edu rec.arts.int-fiction:85333

Jon Ingold <ji207@cam.ac.uk> wrote:
>> Never mind that suggestion. It was silly and doesn't work for
>> actions, only for ACTOR, BLAH BLAH BLAH
>>
>Thanks all the same... :) I think I have a way round it now, and it's
>ridiculously, hideously overcomplicated, so if you come up with any more
>ideas please do tell me!

Can you peek at the value of 'noun' while in the parse_name
for 'second'?  It seems you could just make the topic "guard's blah"
have a custom parse_name that if it sees 'his' only applies it
if noun (or actor?) is the guard, unless I'm missing something.

If the value of 'noun' isn't available but you only care about this
for conversation topics, you could just rewrite the grammar for
ask/tell so they do save it away.

<TIC>I avoid this problem by only having one NPC of each sex
in my games.</TIC>

SeanB
