version 1.11 | | version 1.12 |
---|
| | |
/* | | /* |
* static char *rcsid_readable_c = | | * static char *rcsid_readable_c = |
* "$Id: readable.c,v 1.11 2002/09/05 05:23:15 mwedel Exp $"; | | * "$Id: readable.c,v 1.12 2002/11/14 00:19:32 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
| | |
| | |
#ifdef ALCHEMY | | |
| | |
/* formula_msg() - generate a message detailing the properties | | /* formula_msg() - generate a message detailing the properties |
* of a randomly selected alchemical formula. | | * of a randomly selected alchemical formula. |
*/ | | */ |
| | |
book->msg = add_string(retbuf); | | book->msg = add_string(retbuf); |
} | | } |
} | | } |
#endif | | |
| | |
| | |
/* msgfile_msg() - generate a message drawn randomly from a | | /* msgfile_msg() - generate a message drawn randomly from a |
| | |
strcpy (msgbuf, spellpath_msg (level, book_buf_size)); | | strcpy (msgbuf, spellpath_msg (level, book_buf_size)); |
break; | | break; |
case 4: /* describe an alchemy formula */ | | case 4: /* describe an alchemy formula */ |
#ifdef ALCHEMY | | |
make_formula_book(book, level); | | make_formula_book(book, level); |
/* make_formula_book already gives title */ | | /* make_formula_book already gives title */ |
return; | | return; |
#else | | |
strcpy (msgbuf, msgfile_msg (level, book_buf_size)); | | |
msg_type = 0; | | |
#endif | | |
break; | | break; |
case 5: /* bits of information about a god */ | | case 5: /* bits of information about a god */ |
strcpy (msgbuf, god_info_msg (level, book_buf_size)); | | strcpy (msgbuf, god_info_msg (level, book_buf_size)); |