summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-22 13:42:49 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-22 13:42:49 +0000
commitb794d555277836316ec842421c5287ff50641ff9 (patch)
tree71af9d043989c3a41d1619da84077eb35bc74b5d /crawl-ref/source/clua.cc
parentdfebce7241da1ef5b2506cb175b9abf5eb32e533 (diff)
downloadcrawl-ref-b794d555277836316ec842421c5287ff50641ff9.tar.gz
crawl-ref-b794d555277836316ec842421c5287ff50641ff9.zip
Added option 'autopickup_no_burden' which, if set, will prevent autopickup
from picking up items beyond the burden limit. (Partial pickup will take place if you can take some of the items for a stack, e.g., 3 of the 5 potions of healing.) Defaults to false. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@692 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 18d0a92af2..20005febc9 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -1885,6 +1885,7 @@ static option_handler handlers[] =
{ "increasing_skill_progress", &Options.increasing_skill_progress, option_hboolean },
{ "confirm_self_target", &Options.confirm_self_target, option_hboolean },
{ "safe_autopickup", &Options.safe_autopickup, option_hboolean },
+ { "autopickup_no_burden", &Options.autopickup_no_burden, option_hboolean },
{ "note_skill_max", &Options.note_skill_max, option_hboolean },
{ "use_notes", &Options.use_notes, option_hboolean },
{ "delay_message_clear", &Options.delay_message_clear, option_hboolean },