Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!newsfeed.online.be!zur.uu.net!ash.uu.net!world!not-for-mail
From: buzzard@TheWorld.com (Sean T Barrett)
Subject: Re: [INFORM] Perpetually Verbose
Sender: news@world.std.com (Mr Usenet Himself)
Message-ID: <GrpsuG.JuG@world.std.com>
Date: Mon, 18 Feb 2002 06:03:52 GMT
References: <u70q6qe236addf@corp.supernews.com>
Nntp-Posting-Host: shell01.theworld.com
Organization: The World Public Access UNIX, Brookline, MA
X-Newsreader: trn 4.0-test72 (19 April 1999)
Lines: 39
Xref: news.duke.edu rec.arts.int-fiction:100031

Jacqueline A. Lott <Jacqueline@MountainMemoirs.com> wrote:
>When I use the PlayerTo command, I always get a verbose description, even if
>I've been there before, and even if I'm in "brief" mode (see code below).
>It doesn't matter whether I implement "PlayerTo (Upstairs)," "PlayerTo
>(Upstairs,1)," or "PlayerTo (Upstairs,2)."  Is there a more efficient way to
>code this, especially if the direction the PC walks isn't involved in the
>context of "if/else"?

Well, perhaps from that last clause you're trying to imply that the
following answer is irrelevant, but presumably you want:

>
>Place Hallway1 "~The Hallway~"
>  with description
>        "You are at one end of a spacious hallway,
>        which extends from north to south.",
>        u_to [;
>              print "You walk up the stairs.^";
>              return Upstairs;
>        ],
>        n_to [;
               return self.u_to();
>        ],
>        s_to [;
>              if (Hallway2 hasnt visited)
>                  print "You continue to explore the hallway
>                        by strolling south.^";
>              return Hallway2;
>        ];
> ;

I haven't used PlayerTo() that much... hmm let me check...
Ok, I just tested the one place in Heroes where PlayerTo()
is used, and I get the same behavior as you, the full
room description instead of the brief, despite calling
PlayerTo(...,2) and being in brief mode. Looks like it's
broke or the DM4 is inconsistent.

SeanB
