[Circle] [Stock Code] Quick Explanation

From: DJ Pure (pure@ozramp.net.au)
Date: 11/15/96


G'Day all.

	I've finished using the stock areas to test my code as my area dudes are
getting some area's done, so i edited out all the unwanted .zon .wld .obj
.shp and .mob in their respective "index" files in their respective dirs.
Now, when i check my log (thanks again Chris (i think it was him) for the
logging help for win95), it gives me all these vnum errors. But i thought
I removed all those things from my index file!

So i hunt around, and low and beyold, I find this function in the
spec_assign.c file.

Now. 2 questions. What does this do AND do i need it. My guesses are -
they FORCE add these objs/mobs to the mud and NO, delete those lines.

Any help would be greatly appreciative.

Jussy from down down down under.

****  8<  cut here  >8  ******
[from spec_assign.c]
...
void assign_mobiles(void)
{
  SPECIAL(postmaster);
  SPECIAL(cityguard);
  SPECIAL(receptionist);
  SPECIAL(cryogenicist);
  SPECIAL(guild_guard);
  SPECIAL(guild);
  SPECIAL(puff);
  SPECIAL(fido);
  SPECIAL(janitor);
  SPECIAL(mayor);
  SPECIAL(snake);
  SPECIAL(thief);
  SPECIAL(magic_user);
  void assign_kings_castle(void);

  assign_kings_castle();

  ASSIGNMOB(1, puff);

  /* Immortal Zone */
  ASSIGNMOB(1200, receptionist);
  ASSIGNMOB(1201, postmaster);
  ASSIGNMOB(1202, janitor);

  /* Midgaard */
  ASSIGNMOB(3005, receptionist);
  ASSIGNMOB(3010, postmaster);
  ASSIGNMOB(3020, guild);
  ASSIGNMOB(3021, guild);
  ASSIGNMOB(3022, guild);
  ASSIGNMOB(3023, guild);
  ASSIGNMOB(3024, guild_guard);
  ASSIGNMOB(3025, guild_guard);
  ASSIGNMOB(3026, guild_guard);
  ASSIGNMOB(3027, guild_guard);
  ASSIGNMOB(3059, cityguard);
  ASSIGNMOB(3060, cityguard);
  ASSIGNMOB(3061, janitor);
.....

and it goes ON AND ON AND ON ....
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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