version 1.53 | | version 1.54 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.53 2005/04/27 06:25:15 mwedel Exp $"; | | * "$Id: treasure.c,v 1.54 2005/07/14 09:18:54 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if (t->item==NULL && t->name==NULL) | | if (t->item==NULL && t->name==NULL) |
LOG(llevError,"Treasurelist %s has element with no name or archetype\n", tl->name); | | LOG(llevError,"Treasurelist %s has element with no name or archetype\n", tl->name); |
if (t->chance>=100 && t->next_yes && (t->next || t->next_no)) | | if (t->chance>=100 && t->next_yes && (t->next || t->next_no)) |
LOG(llevError,"Treasurelist %s has element that has 100% generation, next_yes field as well as next or next_no\n", | | LOG(llevError,"Treasurelist %s has element that has 100%% generation, next_yes field as well as next or next_no\n", |
tl->name); | | tl->name); |
/* find_treasurelist will print out its own error message */ | | /* find_treasurelist will print out its own error message */ |
if (t->name && strcmp(t->name,"NONE")) | | if (t->name && strcmp(t->name,"NONE")) |