| Message |
That would be in comm.c, nanny function. Here is the relevant code:
if ( ch->level == 0 )
{
ch->perm_stat[class_table[ch->class].attr_prime] += 3;
ch->level = 1;
ch->exp = exp_per_level(ch,ch->pcdata->points);
ch->hit = ch->max_hit;
ch->mana = ch->max_mana;
ch->move = ch->max_move;
ch->train = 3;
ch->practice = 5;
sprintf( buf, "the %s",
title_table [ch->class] [ch->level]
[ch->sex == SEX_FEMALE ? 1 : 0] );
set_title( ch, buf );
do_function (ch, &do_outfit,"");
obj_to_char(create_object(get_obj_index(OBJ_VNUM_MAP),0),ch);
char_to_room( ch, get_room_index( ROOM_VNUM_SCHOOL ) );
send_to_char("\n\r",ch);
do_function(ch, &do_help, "newbie info");
send_to_char("\n\r",ch);
}
You can see you are given 3 trains, 5 practices, the map (OBJ_VNUM_MAP), and put into the school (ROOM_VNUM_SCHOOL). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|