Difference between revisions of "Autopickup exception"

From NetHackWiki
Jump to navigation Jump to search
m (Categorizing)
(Replacing page with 'If you know what this is you're a fag....')
Line 1: Line 1:
'''AUTOPICKUP_EXCEPTION''' is a configuration option that allows you to define what items are automatically picked up, with more precision than with [[pickup_types]]. You also need to have [[autopickup]] on and [[pickup_types]] match the AUTOPICKUP_EXCEPTION -lines.
+
If you know what this is you're a fag....
 
 
In NetHack 3.4.3 [[Compile-time options#AUTOPICKUP_EXCEPTIONS|autopickup exceptions]] are not compiled in by default, and they're marked as experimental, so most builds probably won't have them.
 
 
 
You can either define the exceptions in the [[options]] screen or in your [[configuration file]] by putting the following lines in it:
 
 
 
AUTOPICKUP_EXCEPTION=">*chest*"
 
 
 
This will make the hero always drop all items that match the string "*chest*"
 
 
 
AUTOPICKUP_EXCEPTION="<*dagger"
 
 
 
This will make the hero always pickup all items that match the string "*dagger"
 
 
 
If the first character inside the quoted string is greater-than sign (<tt>&gt;</tt>), then the matched items will be dropped, if it's less-than sign (<tt>&lt;</tt>), the items will be picked up. Rest of the string defines what items will match for that rule. The string matching allows for basic wildcards, where asterisk (<tt>*</tt>) matches any number of characters and question mark (<tt>?</tt>) matches any one character.
 
 
 
[[Category:Options]]
 

Revision as of 15:40, 27 March 2008

If you know what this is you're a fag....