On Mon, 18 Dec 1995, Herbert Kremser wrote: > > > In utils.h we have the lines: > > > #define IS_NPC(ch) MOB_FLAGS(ch).isnpc > > > #define IS_MOB(ch) (IS_NPC(ch) && ((ch)->nr >-1)) > > > > Note the ((ch)->nr > -1) part of IS_MOB? > > > > That's the number that is automagically assigned to a character whenever > > they are first created. That number will be -1 for a "real mob". If an > > immortal is switched into an NPC, however, that number will be assigned > > to whatever their number is. > > > > So, a MOB is an NPC that isn't switched into. > > When did that feature made it in the circle code? It's been there as long as I've been around (1993); as far as I know, it is in Circle 2.2; perhaps Jeremy has made another type of function for IS_MOB() in C3. -- Kenneth G. Cavness | http://ccwf.cc.utexas.edu/~cavness Associate Editor | "That which is possible is not always MIDS, TIC | probable." -- Isaac Asimov 1-512-451-7602 | "What about the Tuna?" -- Unknown
This archive was generated by hypermail 2b30 : 12/07/00 PST