Re: [Newbie][Code]Setting the default prompt

From: Xual (xual@satanspawn.ml.org)
Date: 01/29/99


On Fri, 29 Jan 1999, Phreak404 wrote:

> Can anyone tell me where is/are the functions located that will set the
> default prompt? So that when a new character logs in..his prompt is
> automatically set to full display of HP MV and Mana.

in class.c, function do_start(), add:

SET_BIT(PRF_FLAGS(ch), PRF_DISPHP);
SET_BIT(PRF_FLAGS(ch), PRF_DISPMANA);
SET_BIT(PRF_FLAGS(ch), PRF_DISPMOVE);

A handy function to set all kinds of defaults.

"Misery is boundless"
        -Xual the Torturer, on the Eve of the Sundering.

Danathara Online RPG
telnet://danathara.ml.org:4000


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



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