Difference for common/treasure.c from version 1.43 to 1.44


version 1.43 version 1.44
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.43 2004/01/25 06:51:22 mwedel Exp $";   *   "$Id: treasure.c,v 1.44 2004/02/09 05:36:12 mwedel Exp $";
  */   */
   
 /*  /*
Line 904
 
Line 904
      /* books w/ info are worth more! */       /* books w/ info are worth more! */
      op->value*=((op->level>10?op->level:(op->level+1)/2)*((strlen(op->msg)/250)+1));       op->value*=((op->level>10?op->level:(op->level+1)/2)*((strlen(op->msg)/250)+1));
      /* creator related stuff */       /* creator related stuff */
      if(QUERY_FLAG(creator,FLAG_NO_PICK)) /* for library, chained books! */  
        /* for library, chained books.  Note that some monsters have no_pick
         * set - we don't want to set no pick in that case.
         */
        if(QUERY_FLAG(creator,FLAG_NO_PICK) &&
           !QUERY_FLAG(creator, FLAG_MONSTER))
  SET_FLAG(op,FLAG_NO_PICK);   SET_FLAG(op,FLAG_NO_PICK);
      if(creator->slaying&&!op->slaying) /* for check_inv floors */       if(creator->slaying&&!op->slaying) /* for check_inv floors */
  op->slaying = add_string(creator->slaying);   op->slaying = add_string(creator->slaying);


Legend:
line(s) removed in v.1.43 
line(s) changed
 line(s) added in v.1.44

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:18