suggested booktribute mods

Changes to be committed:
	modified:   include/extern.h
	modified:   src/files.c
	modified:   src/objects.c
	modified:   src/spell.c

- charge a little more.
- no free read in the bookstore.
This commit is contained in:
nhmall
2015-04-18 17:45:27 -04:00
parent 78b012a680
commit 0fdcea70c6
4 changed files with 18 additions and 11 deletions

View File

@@ -452,10 +452,12 @@ register struct obj *spellbook;
/* 3.6.0 tribute */
if (booktype == SPE_NOVEL) {
/* Obtain current Terry Pratchett book
title for the current game. */
/* Obtain current Terry Pratchett book title */
const char *tribtitle = noveltitle(&spellbook->novelidx);
read_tribute("books", tribtitle, 0);
if (read_tribute("books", tribtitle, 0)) {
u.uconduct.literate++;
check_unpaid(spellbook);
}
return(1);
}