From: Pasi Kallinen Date: Sun, 13 Nov 2016 13:25:40 +0000 (+0200) Subject: Fix wrong material for novels X-Git-Tag: NetHack-3.6.1_RC01~555 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84dc214e5c53a733d6c336f35807ae679472f1de;p=nethack Fix wrong material for novels HI_PAPER is color, PAPER is material - the novel object definition was using the wrong one. The caused the novel material to be gold. --- diff --git a/doc/fixes36.1 b/doc/fixes36.1 index 30731b652..815b9f1ad 100644 --- a/doc/fixes36.1 +++ b/doc/fixes36.1 @@ -355,6 +355,7 @@ wielding Trollsbane prevents trolls from reviving wielding Demonbane prevents demons summoning friends Elbereth must now be on a square by itself to function Elbereth now erodes based on attacks by the player, not monsters scared +novels are made of paper, not gold Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository diff --git a/src/objects.c b/src/objects.c index 3c686746c..3a8db8d92 100644 --- a/src/objects.c +++ b/src/objects.c @@ -984,7 +984,7 @@ SPELL("freeze sphere", "hardcover", SPELL("blank paper", "plain", P_NONE, 18, 0, 0, 0, 0, HI_PAPER), /* tribute book for 3.6 */ OBJECT(OBJ("novel", "paperback"), - BITS(0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, P_NONE, HI_PAPER), + BITS(0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, P_NONE, PAPER), 0, SPBOOK_CLASS, 0, 0, 0, 20, 0, 0, 0, 1, 20, CLR_BRIGHT_BLUE), /* a special, one of a kind, spellbook */ OBJECT(OBJ("Book of the Dead", "papyrus"),