diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-06-11 09:54:49 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-06-11 09:54:49 -0400 |
commit | 2cf48292452445b275df5d685341c721aadafa5e (patch) | |
tree | 1c4fce0323717e30e26e89d2eeeb17e9f5c35eb7 /crawl-ref/source/initfile.cc | |
parent | 3208b8c6f14b47ebc069ae040432dc5f15435bfb (diff) | |
parent | e9415a749937a864f07066d4fd07b66b538b3f5c (diff) | |
download | crawl-ref-2cf48292452445b275df5d685341c721aadafa5e.tar.gz crawl-ref-2cf48292452445b275df5d685341c721aadafa5e.zip |
Merge branch 'mon-pickup'
The problem with monster pickup of the type that this branch removes
is that it encourages tedious behaviour to achieve the optimum result.
While in general people don't bother to pick up every weapon and armour
and stuff it upstairs, that would be a way to prevent monsters from ever
picking up items you've seen. With Apportation, you don't even have to
reach the item, and on a mummy, say, you don't even have to worry about
the infintesimal food cost. People do already do this for chaos and
distortion weapons, and it is not a very good thing.
Not allowing allies to pick up items is related, in that it means that the
code can be simpler, but it also has problems of micromanagement,
weirdnesses with the ctrl-T command, and allies already have their share
of problems. I hope that the compensations for Beogh and mercenaries make
up for what is lost in terms of fun.
Conflicts:
crawl-ref/source/tag-version.h
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 74dfd37afc..24aad3641b 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -772,7 +772,6 @@ void game_options::reset_options() autopickup_on = 1; autopickup_starting_ammo = true; - default_friendly_pickup = FRIENDLY_PICKUP_FRIEND; default_manual_training = false; show_newturn_mark = true; @@ -2406,17 +2405,6 @@ void game_options::read_option_line(const string &str, bool runscript) autopickup_on = 0; } else BOOL_OPTION(autopickup_starting_ammo); - else if (key == "default_friendly_pickup") - { - if (field == "none") - default_friendly_pickup = FRIENDLY_PICKUP_NONE; - else if (field == "friend") - default_friendly_pickup = FRIENDLY_PICKUP_FRIEND; - else if (field == "player") - default_friendly_pickup = FRIENDLY_PICKUP_PLAYER; - else if (field == "all") - default_friendly_pickup = FRIENDLY_PICKUP_ALL; - } else if (key == "default_manual_training") { if (_read_bool(field, true)) |