a couple more tribute easter eggs
Changes to be committed: modified: include/context.h modified: include/extern.h modified: src/files.c modified: src/invent.c modified: src/sounds.c modified: src/spell.c Add a couple more tribute easter eggs. - can lead to a remark by Death if you happen to have a pratchett book on your person, as suggested by M. Stephenson (fat chance you will, or think to #chat if you do, but it could be a tournament novelty or something obscure to strive for). - can draw some additional Death quotes from the tribute file. (There's two in there right now. If anyone wants to add or suggest some more, please go ahead. The Death quotes are at the end of the tribute file. One-liners only please or the code will only pull the last line.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 spell.c $NHDT-Date: 1432512766 2015/05/25 00:12:46 $ $NHDT-Branch: master $:$NHDT-Revision: 1.62 $ */
|
||||
/* NetHack 3.6 spell.c $NHDT-Date: 1434421353 2015/06/16 02:22:33 $ $NHDT-Branch: master $:$NHDT-Revision: 1.63 $ */
|
||||
/* Copyright (c) M. Stephenson 1988 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -473,7 +473,7 @@ register struct obj *spellbook;
|
||||
if (booktype == SPE_NOVEL) {
|
||||
/* Obtain current Terry Pratchett book title */
|
||||
const char *tribtitle = noveltitle(&spellbook->novelidx);
|
||||
if (read_tribute("books", tribtitle, 0)) {
|
||||
if (read_tribute("books", tribtitle, 0, (char *)0, 0)) {
|
||||
u.uconduct.literate++;
|
||||
check_unpaid(spellbook);
|
||||
if (!u.uevent.read_tribute) {
|
||||
|
||||
Reference in New Issue
Block a user