do_newbie

From: David E. Berthiaume Jr. (mud@iii.net)
Date: 08/03/95


Ok, here is the one I have.

I saw one that was better out there, it was class sensitive.

add this to act.wizard.c

=== snip ===
void do_newbie(struct char_data *vict)
{
  struct obj_data *obj;
  int give_obj[] = {2544, 5423, 3071, 3076, 3081, 3086, 6002, 7211, 3104, 3015, 3015, -1};
/* replace the 4 digit numbers on the line above with your basic eq -1 HAS to stay there */
  int i;

  for (i = 0; give_obj[i] != -1; i++) {
    obj = read_object(give_obj[i], VIRTUAL);
    obj_to_char(obj, vict);
  }
}
=== snip ===
add all the + in the respective spots in interpreter.c

=== snip ===

+ void do_newbie(struct char_data *vict);
  void read_aliases(struct char_data * ch);
  void echo_on(struct descriptor_data * d);
  void echo_off(struct descriptor_data * d);
=== snip ===
        STATE(d) = CON_PLAYING;
        if (!GET_LEVEL(d->character)) {
  	do_start(d->character);
  	send_to_char(START_MESSG, d->character);
+         do_newbie(d->character);
        }
=== snip ===

and that should be it, sorry it took so long I had to find the code :)



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