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 context.h $NHDT-Date: 1432512775 2015/05/25 00:12:55 $ $NHDT-Branch: master $:$NHDT-Revision: 1.25 $ */
|
||||
/* NetHack 3.6 context.h $NHDT-Date: 1434421363 2015/06/16 02:22:43 $ $NHDT-Branch: master $:$NHDT-Revision: 1.26 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -80,8 +80,9 @@ struct tribute_info {
|
||||
size_t tributesz; /* make it possible to skip this in future */
|
||||
boolean enabled; /* Do we have tributes turned on? */
|
||||
Bitfield(bookstock, 1); /* Have we stocked the book? */
|
||||
Bitfield(Deathnotice,1); /* Did Death notice the book? */
|
||||
/* Markers for other tributes can go here */
|
||||
/* 31 free bits */
|
||||
/* 30 free bits */
|
||||
};
|
||||
|
||||
struct context_info {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1434330826 2015/06/15 01:13:46 $ $NHDT-Branch: master $:$NHDT-Revision: 1.503 $ */
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1434421365 2015/06/16 02:22:45 $ $NHDT-Branch: master $:$NHDT-Revision: 1.504 $ */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -765,7 +765,8 @@ E void NDECL(really_close);
|
||||
#ifdef DEBUG
|
||||
E boolean FDECL(debugcore, (const char *, BOOLEAN_P));
|
||||
#endif
|
||||
E boolean FDECL(read_tribute, (const char *, const char *, int));
|
||||
E boolean FDECL(read_tribute, (const char *, const char *, int, char *, int));
|
||||
E boolean FDECL(Death_quote, (char *, int));
|
||||
|
||||
/* ### fountain.c ### */
|
||||
|
||||
@@ -901,6 +902,7 @@ E struct obj *FDECL(sobj_at, (int, int, int));
|
||||
E struct obj *FDECL(nxtobj, (struct obj *, int, BOOLEAN_P));
|
||||
E struct obj *FDECL(carrying, (int));
|
||||
E boolean NDECL(have_lizard);
|
||||
E struct obj *NDECL(u_have_novel);
|
||||
E struct obj *FDECL(o_on, (unsigned int, struct obj *));
|
||||
E boolean FDECL(obj_here, (struct obj *, int, int));
|
||||
E boolean NDECL(wearing_armor);
|
||||
|
||||
Reference in New Issue
Block a user