Re: [code] player/mob names snippet

From: Sammy (samedi@DHC.NET)
Date: 06/08/98


On Mon, 8 Jun 1998, Alex wrote:

> I'd actually suggest not doing this, and rather using a slightly different
> system.  Specifically, when you want to interact with the player of a
> certain name, and *nothing* else, use '0.<name>'.  A seriously easy patch
> and allows you to actually pay attention to the output 'where' gives you
> to use it to 'goto 4.guard'.

Why would you suggest not doing it?

The 0.name thing is in stock circle, and while it's great for people who
know how to use it, in my opinion players are normally the expected
target.

To sync 'where' with this change, it would only require a small change to
perform_immort_where() to search descriptors before mobs as I did in
get_char_vis().

Some of you may have noticed that I don't check the descriptors for
switched imms.  That's actually intentional.  Since imms often use switch
to run quests, an imm switched into a guard will almost always be found
first if you 'tell guard'.

Sam


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST