[DGD]parse_string

Erlend M. Simonsen erlends at fairplay.no
Tue Apr 6 18:22:54 CEST 1999


"Jason Cone" <jcone at usabilitysciences.com> writes:

> where caller is the person/object executing the verb (which is known).  That
> way, the search algorithm always starts from the correct
> "environment"/object.  Ok, I think I answered it...?

An example to clarify things:

   > inventory
   You are carrying:
   a stone.

   > look
   You see:
   a stone.
   a box.

   > look box
   The box contains:
   a stone

   > get stone from box
   You already have it.

or something like that...

If you have the rule 'get OBJ from OBJ' (split up, of course. :-) and
type 'get stone from box' which stone would you try and get? The one
in your inventory, the one in the room, or the one in the box?

I think this problem only arises when you're dealing with multiple
identical objects. So, usually this isn't a problem.

-- 
Erlend M. Simonsen / Fairplay International AS
erlesimo at online.no / erlends at fairplay.no

List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list