From c08304f875d0a3654c79b949c8b995806a49bd7a Mon Sep 17 00:00:00 2001 From: PatR Date: Fri, 8 Dec 2023 15:30:04 -0800 Subject: [PATCH] fixes entry for PR #1140 - nopick_dropped Pull request from entrez: add 'nopick_dropped' option of not pick up items dropped by hero via autopickup and 'pickup_stolen' to picup up items stolen from hero via autopickup, bypassing pickup_types and autopickup_exceptions like existing 'pickup_thrown'. This fixes entry commit also fixes the description of pickup_stolen. Closes #1140 --- doc/fixes3-7-0.txt | 4 ++++ include/optlist.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index d4902dc0b..9280ea463 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -2572,6 +2572,10 @@ add Unicode support to Qt (pr #910 by chasonr) add Unicode, IBMgraphics and DECgraphics support to X11 (pr #923 by chasonr) add some glue code for those that might wish to build with 3rd party fmod sound library support (pr #962 by MrEveryDay98) +add new options 'nopick_dropped' and 'pickup_stolen' options to avoid + auto-pickup of items dropped by hero and to auto-pickup things + previously stolen from hero if moved upon while autopickup is On; both + bypass pickup_types and autopickup_exceptions (pr #1140 by entrez) Code Cleanup and Reorganization diff --git a/include/optlist.h b/include/optlist.h index ae866b5e1..e0abe2393 100644 --- a/include/optlist.h +++ b/include/optlist.h @@ -536,7 +536,7 @@ static int optfn_##a(int, int, boolean, char *, char *); "maximum burden picked up before prompt") NHOPTB(pickup_stolen, Behavior, 0, opt_out, set_in_game, On, Yes, No, No, NoAlias, &flags.pickup_stolen, Term_False, - "autopickup thrown items") + "autopickup stolen items") NHOPTB(pickup_thrown, Behavior, 0, opt_out, set_in_game, On, Yes, No, No, NoAlias, &flags.pickup_thrown, Term_False, "autopickup thrown items")