On Mon, 18 Dec 1995, Kenneth G. Cavness wrote: > On Mon, 18 Dec 1995, Jaco van Iterson 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? This wasn't so in stock diku, and seems not to be in my copy of circle (v3.0 beta pl8) too, making a quick look at the code. Herbert __ [on public request 12 lines of signature deleted] *snip* ;)
This archive was generated by hypermail 2b30 : 12/07/00 PST