Difference between revisions of "Autopickup"

From CrawlWiki
Jump to: navigation, search
(Update to 0.18; change Gitorious links to GitHub)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{version012}}
+
{{version|018}}
  
When '''autopickup''' is active, your character will automatically pick up any useful items in a tile you've entered. You can see the list of items set to autopickup by pressing the '''\''' button (backslash), and can adjust which items will be affected by scrolling through the list and pressing the corresponding letters.
+
When '''autopickup''' is active, your character will automatically pick up any useful items in a tile you've entered so long as there are no monsters within your [[line of sight]]. You can see the list of items set to autopickup by pressing the '''\''' button (backslash), and can adjust which items will be affected by scrolling through the list and pressing the corresponding letters.
  
 
Bear in mind that autopickup does not reduce the amount of time it takes to pick up items, and it has no beneficial effect on turncount; the game simply assumes you wish to pick up all items on the list that it comes across. In fact, leaving useless items active on your autopickup list may negatively affect your turncount, as your character will go out of its way to grab junk items during autoexplore. As such, you should deactivate any items you will not need any more.
 
Bear in mind that autopickup does not reduce the amount of time it takes to pick up items, and it has no beneficial effect on turncount; the game simply assumes you wish to pick up all items on the list that it comes across. In fact, leaving useless items active on your autopickup list may negatively affect your turncount, as your character will go out of its way to grab junk items during autoexplore. As such, you should deactivate any items you will not need any more.
Line 12: Line 12:
 
   autopickup_exceptions = <stone, <artefact
 
   autopickup_exceptions = <stone, <artefact
  
The <tt>&lt;</tt> character specifies an "inclusion" (matching objects should be picked up). Besides object names, you can also match against a number of [[options_guide.txt#prefix_list|prefixes]], such as "artefact" (seen above), "emergency_item", and "unidentified".
+
The <tt>&lt;</tt> character specifies an "inclusion" (matching objects should be picked up). Besides object names, you can also match against a number of [https://github.com/crawl/crawl/blob/master/crawl-ref/docs/options_guide.txt prefixes], such as "artefact" (seen above), "emergency_item", and "unidentified".
  
 
The default configuration includes a number of such autopickup exceptions in the file <tt>autopickup_exceptions.txt</tt>. Note that exclusions override inclusions, so if your exception doesn't work make sure the object isn't matched by an exclusion in that file (<tt>useless_item</tt> is a likely culprit).
 
The default configuration includes a number of such autopickup exceptions in the file <tt>autopickup_exceptions.txt</tt>. Note that exclusions override inclusions, so if your exception doesn't work make sure the object isn't matched by an exclusion in that file (<tt>useless_item</tt> is a likely culprit).
  
See the [[Options_guide.txt#Picking_up_and_Dropping|Picking up and Dropping]] section of the options guide for more details.
+
See the [https://github.com/crawl/crawl/blob/master/crawl-ref/docs/options_guide.txt Picking up and Dropping] section of the options guide for more details.
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]

Latest revision as of 23:01, 12 June 2016

Version 0.18: This article may not be up to date for the latest stable release of Crawl.

When autopickup is active, your character will automatically pick up any useful items in a tile you've entered so long as there are no monsters within your line of sight. You can see the list of items set to autopickup by pressing the \ button (backslash), and can adjust which items will be affected by scrolling through the list and pressing the corresponding letters.

Bear in mind that autopickup does not reduce the amount of time it takes to pick up items, and it has no beneficial effect on turncount; the game simply assumes you wish to pick up all items on the list that it comes across. In fact, leaving useless items active on your autopickup list may negatively affect your turncount, as your character will go out of its way to grab junk items during autoexplore. As such, you should deactivate any items you will not need any more.

You can toggle autopickup on or off by pressing CTRL + A. Each time you encounter an invisible monster, autopickup will immediately toggle off until you either reactivate it manually or you defeat the threat; merely escaping to another floor does not reactivate it.

Editing your default autopickup list

To add an item to the autopickup list, add an autopickup_exceptions line to your init.txt. For example:

 autopickup_exceptions = <stone, <artefact

The < character specifies an "inclusion" (matching objects should be picked up). Besides object names, you can also match against a number of prefixes, such as "artefact" (seen above), "emergency_item", and "unidentified".

The default configuration includes a number of such autopickup exceptions in the file autopickup_exceptions.txt. Note that exclusions override inclusions, so if your exception doesn't work make sure the object isn't matched by an exclusion in that file (useless_item is a likely culprit).

See the Picking up and Dropping section of the options guide for more details.