Re: [NEWBIE] show_obj_to_char...

From: Rick Glover (
Date: 12/31/98

  if (mode != 3) {
    *buf2 = '\0';
    if (IS_OBJ_STAT(object, ITEM_INVISIBLE))
      strcat(buf2, " (invisible)");
    if (IS_OBJ_STAT(object, ITEM_BLESS) && AFF_FLAGGED(ch,
      strcat(buf2, " ..It glows blue!");
    if (IS_OBJ_STAT(object, ITEM_MAGIC) && AFF_FLAGGED(ch,
      strcat(buf2, " ..It glows yellow!");
    if (IS_OBJ_STAT(object, ITEM_GLOW))
      strcat(buf2, " ..It has a soft glowing aura!");
    if (IS_OBJ_STAT(object, ITEM_HUM))
      strcat(buf2, " ..It emits a faint humming sound!");
    strcpy(buf, strcat(buf2, buf));

This is a HACK!  The code should actually be rewritten.  This will be damn
ugly to the player, BTW and I'm not sure why you'd want it like this.


-----Original Message-----
From: Nick Stout <>
To: <>
Date: Thursday, December 31, 1998 4:38 PM
Subject:  [NEWBIE] show_obj_to_char...

>Hey List.
>Has anyone found a way of making show_obj so that the ITEM_ Bitvectors
>are in FRONT of the object? And if so, could you possibly share an
>example of how you did it?

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

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