Re: implement levels (fwd)

From: Billy H. Chan (~{3B:FH;~}) (bhchan@po.EECS.Berkeley.EDU)
Date: 04/15/96


You recently wrote:
   From: King of the Pridelands <root@pridelands.rh.ncsu.edu>
   Subject: Re: implement levels

   	I recently made my MUD have 60 levels.  I hade to wipe the
   playerfile afterwards, but I think that you can add code in to auto-imp
   your player.  You have to edit in class.c and structs.h, and maybe
   constants.c but I can't remeber.
   
For the newerbies out there who has to pwipe each time to re-imp their
imps, here's a simple ACMD that should do the trick... you might want
to do this on a seperate port number and disable the ACMD afterwards so
no one else can take advantage of it:

(This is from memory, but I think it's simple enough for me to remember
 without much loss of accuracy)

ACMD(reimpme) {
	GET_LEVEL(ch) = LVL_IMPL;
	send_to_char("You're the Boss, boss.\r\n", ch);
}

That's it.  :)
OF course, if you want to be really really spiffy, you could throw a 
few if-checks in there for the hell of it.



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