Difference for common/recipe.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 45
 
Line 45
   t->index = 0;    t->index = 0;
   t->transmute = 0;    t->transmute = 0;
   t->yield=0;    t->yield=0;
     t->diff=0;
     t->exp=0;
   t->keycode = 0;    t->keycode = 0;
   t->title = NULL;    t->title = NULL;
   t->arch_name = NULL;    t->arch_name = NULL;
Line 140
 
Line 142
     else if (sscanf(cp, "chance %d", &value)) {      else if (sscanf(cp, "chance %d", &value)) {
         formula->chance = (uint16) value;          formula->chance = (uint16) value;
     }      }
       else if (sscanf(cp, "exp %d", &value)) {
    formula->exp = (uint16)value;
       }
       else if (sscanf(cp, "diff %d", &value)) {
    formula->diff = (uint16)value;
       }
     else if (!strncmp(cp, "ingred",6)) {      else if (!strncmp(cp, "ingred",6)) {
       int numb_ingred = 1;        int numb_ingred = 1;
       cp = strchr(cp,' ') + 1;        cp = strchr(cp,' ') + 1;
Line 258
 
Line 266
  fprintf(logfile, "\tSkill Required: %s", formula->skill);   fprintf(logfile, "\tSkill Required: %s", formula->skill);
       if (formula->cauldron != NULL)        if (formula->cauldron != NULL)
  fprintf(logfile, "\tCauldron: %s\n", formula->cauldron);   fprintf(logfile, "\tCauldron: %s\n", formula->cauldron);
         fprintf(logfile, "\tDifficulty: %d\t Exp: %d\n", formula->diff,
    formula->exp);
    }     }
  } else    } else
     LOG(llevError,"Can't find archetype:%s for formula %s\n", string,      LOG(llevError,"Can't find archetype:%s for formula %s\n", string,


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

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