]> granicus.if.org Git - nethack/commit
tribute passage limit
authorPatR <rankin@nethack.org>
Thu, 18 Feb 2016 22:46:25 +0000 (14:46 -0800)
committerPatR <rankin@nethack.org>
Thu, 18 Feb 2016 22:46:25 +0000 (14:46 -0800)
commitba5449e17e702adbaad07040cd47dbbee87b6b17
treedc3e7956020cc8e4f3baf12c5a3355adbda71bd9
parent63ef46218578ad5884373ca37445baa8ef5e73ed
tribute passage limit

Death Quotes have reached the current limit of 30 passages per 'book'.
Instead of increasing that, change the selection code to be able to
operate on a subset (dropped from 30 down to 20) at a time while
keeping the excess available for later selection.

Chatting with Death (more than 20 times since he also delivers non-
tribute messages) should cycle through 20 of his 30 passages without
repeating.  After that, another subset of 20 out of the 30 will be
chosen, independent of the first set so might contain all, some, or
none of the 10 that left out before.
include/context.h
src/files.c