Re: Roomflags

From: Edward Glamkowski (EGlamkowski@MATHEMATICA-MPR.COM)
Date: 03/17/98


Room flags are defined in structs.h.

Adding an areana flag would involve writing a check in the appropriate
attack commands (do_hit, do_kill) that if they are in a room flagged
arena, they can attack other players, otherwise no-no.
Also, in the code where a death occurs (damage?), check if the room
is flagged areana, and if it is, they don't actually die, just get
transported to another room (and send a message to the arena that
that player just lost ;)
This should mostly be in fight.c and act.offensive.c
Of course, you will also need to modify all the offensive skills,
like kick and bash as well... :O


Edward Glamkowski, Programmer           Mathematica Policy Research
EGlamkowski@mathematic-MPR.COM          Princeton, NJ
                http://www.mathematica-mpr.com/

"Dort, wo der Staat aufhort, da beginnt erst der Mensch,
        der nicht uberflussig ist..." -Neitzsche

>----------
>From:  Too long[SMTP:micron@NET.BLUEMOON.NET]
>Sent:  Tuesday, March 17, 1998 4:00 PM
>To:    CIRCLE@POST.QUEENSU.CA
>Subject:        Roomflags
>
>In which file are room flags defined? and how would I go about making a
>room flag for an arena(no exp/eq loss when killed)
>
>                    -Ryan Brown
>
>
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>     +------------------------------------------------------------+
>


     +------------------------------------------------------------+
     | 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