add pickup_thrown option (trunk only)

This patch by <email deleted> was released
when 3.4.1 was current and has been incorporated into slash'em.  It is
extremely useful while using ranged weapons.  When both autopickup and
pickup_thrown are enabled, walking across previously thrown objects will
pick them up even if they don't match the current pickup_types list.
[See cvs log for patchlevel.h for longer description.]
This commit is contained in:
nethack.rankin
2006-05-13 04:57:52 +00:00
parent 151bff298c
commit 9151db8aaf
11 changed files with 41 additions and 20 deletions

View File

@@ -2083,6 +2083,12 @@ When you pick up an item that would exceed this encumbrance
level (Unburdened, Burdened, streSsed, straiNed, overTaxed,
or overLoaded), you will be asked if you want to continue.
(Default `S').
.lp pickup_thrown
If this option is on and
.op autopickup
is also on, try to pick up things that you threw, even if they aren't in
.op pickup_types
or match an autopickup exception. Default is on.
.lp pickup_types
Specify the object types to be picked up when
.op autopickup

View File

@@ -27,7 +27,7 @@
\begin{document}
%
% input file: guidebook.mn
% $Revision: 1.97 $ $Date: 2006/04/23 17:22:45 $
% $Revision: 1.98 $ $Date: 2006/04/30 17:55:09 $
%
%.ds h0 "
%.ds h1 %.ds h2 \%
@@ -2550,6 +2550,11 @@ level (Unburdened, Burdened, streSsed, straiNed, overTaxed,
or overLoaded), you will be asked if you want to continue.
(Default `S').
%.lp
\item[\ib{pickup\_thrown}]
If this option is on and ``{\it autopickup\/}'' is also on, try to pick up
things that you threw, even if they aren't in ``{\it pickup\_types\/}'' or
match an autopickup exception. Default is on.
%.lp
\item[\ib{pickup\_types}]
Specify the object types to be picked up when ``{\it autopickup\/}''
is on. Default is all types. If your copy of the game has the

View File

@@ -200,6 +200,7 @@ allow digging an adjacent pit with wand of digging while trapped in a pit
#terrain command for debug mode
digging can activate or disarm some types of traps
some monsters can eat tins in addition to corpses to cure some ailments
add Roderick Schertler's pickup_thrown patch
Platform- and/or Interface-Specific New Features