From 767d3f249e9a81dc439e1ce1398e9d7840f1572a Mon Sep 17 00:00:00 2001 From: Kevin Granade Date: Tue, 3 Dec 2019 15:31:02 -0800 Subject: [PATCH 1/2] Restore penalty to reading already-read books. --- src/player.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/player.cpp b/src/player.cpp index e4805cfba674b..51332e41af478 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -5635,6 +5635,10 @@ int player::book_fun_for( const item &book, const player &p ) const } } + if( fun_bonus > 1 && book->get_chapters() > 0 && book->get_remaining_chapters( p ) == 0 ) { + fun_bonus /= 2; + } + return fun_bonus; } From dc40a32776c0cf6c14c0a1cdfab32adbba0fe12e Mon Sep 17 00:00:00 2001 From: Kevin Granade Date: Tue, 3 Dec 2019 16:07:37 -0800 Subject: [PATCH 2/2] sin tax --- src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player.cpp b/src/player.cpp index 51332e41af478..f0e323578470f 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -5635,7 +5635,7 @@ int player::book_fun_for( const item &book, const player &p ) const } } - if( fun_bonus > 1 && book->get_chapters() > 0 && book->get_remaining_chapters( p ) == 0 ) { + if( fun_bonus > 1 && book.get_chapters() > 0 && book.get_remaining_chapters( p ) == 0 ) { fun_bonus /= 2; }