Re: where are the calls to specs

From: Torgny Bjers (artovil@arcanerealms.org)
Date: 09/07/02


On 02-09-07 20.05, "Kras Kresh" <kras_kresh@HOTMAIL.COM> wrote:

> When running stock circle, where is the call to the room/mob/obj specs?
> I can't seem to find them.

If you mean the assignments, then they are done in spec_assign, and the
actual specs are in spec_procs.c.  Mobile specprocs are called on
PULSE_MOBILE from heartbeat() in comm.c, and they call mobile_activity() in
mobact.c.  Specprocs are also checked in the command interpreter,
no_specials and a call to special(), act.movement.c also checks special()
for rooms you move into.

That should be it, I think, well, there's probably some calls for objects
too, but you can do some of the work on your own. ;)

Regards,
/Torgny

--
   +---------------------------------------------------------------+
   | 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/25/03 PDT