Re: [NEWBIE] adding practice setions and gold upon creation of a new character

From: Mark Garringer (zizazat@hotmail.com)
Date: 04/12/03


>       Hi, What would I need to do in circle-3.1 to automaticly add 10
> practice setions to a new character and 1000 gold coins?  I would want to
> do it before the log loged the new character's creation.  bye

Open up class.c and look for do_start.

Right under GET_EXP(ch) = 1; you could add something like:

GET_GOLD(ch) = 1000;
GET_PRACTICES(ch) = 10;

I think you'll end up with more than 10, after the character get's passed to
do_advance...but you should be able to get the idea...

--Ziz

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/26/03 PDT