[Newbie] [BPL11] [LONG] MOBPROGS & Peek

From: Scorn (scorn@RMI.NET)
Date: 07/30/98

ok this is a newbie question.......i just succesfuly installed mobprogs and
in the game they all seem to work no errors or nothing, but as i force a
mob to do all these things i was wondering......do dg events or some other
trigger based codes need to be in there too.....if not then how would i get
the mob to do any of these things?  And if so are the on the ftp site?
"I learn as I go"

I recently changed the code to "stack" objects but i noticed thiefs and
imm+ peek at the inventory and its not stacked here is the code so you can
see it:

if (ch != i && (GET_CLASS(ch) == CLASS_THIEF || GET_LEVEL(ch) >=
    found = FALSE;
    act("\r\nYou attempt to peek at $s inventory:&n", FALSE, i, 0, ch,
    for (tmp_obj = i->carrying; tmp_obj; tmp_obj = tmp_obj->next_content) {
      if (CAN_SEE_OBJ(ch, tmp_obj) && (number(0, 20) < GET_LEVEL(ch))) {
 show_obj_to_char(tmp_obj, ch, 1);
 found = TRUE;
Sorry bout the spam, but any ideas on what i would have to change so it
"stacked" the items in the inventory when you Peek?

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |

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