Re: [newbie] exits

From: Nathan Davies (alamar@MARQUIS.NETINC.CA)
Date: 08/15/97


> I was recently on a smaug mud watching a friend of mine build a zone, and
> saw that smaug mud has the ability to make doors secret.  E.G, if there
> is a closed door to the west, it will not give you the {the closet is
> closed} message.  Is there a way to port that part of the code from smaug
> to circle?   This would be great, because seeing doors by walking into
> them ruins the challenge of reading room descriptions, etc, etc.  :P
>
> Thanks
> Tim Davis

Simple to add, if you can code.  Just make another exit flag, EX_SECRET and
add a check for it in procs like do_exits, look_in_direction, perform_move,
etc...

You'll have to make some bigger changes to olc/db though, cuz the code
doesn't take into account expandability, just assumes you'll never have
more than the 3 or so flags it has...

Av fun, good luck an hey...enjoy life :)

Nathan Davies,
alamar@mail.netinc.ca


     +------------------------------------------------------------+
     | 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/08/00 PST