CleverRaven/Cataclysm-DDA — pull request #7237 by MattAmmann (2014-04-15 03:44:52+00:00)
Title: [WIP] Quiver Autoloading

Autopickup and regular pickup will now autoload any equipped quivers. See below notes for more information. Fixes #7164.

**CODE TODO**
-change quivers container so that it holds maxCharges int as well (dictionary? suggestions welcome)
---remove unnecessary call to max_charges_from_flag() after that's sorted
-change "choice" logic to loop through quivers container instead
-iuse::quiver() refactor
-prune commented out code

✔ - working
O - In Progress/Partially working
X - Not working yet

**TESTING**
[✔] Empty quiver
[✔] Full quiver
[✔] Partially-full quiver
[✔] Non arrow/bolt ammo (do nothing)
[✔] More arrows than quiver holds (fill quiver, rest in inv)
........[✔] Autopickup
........[✔] Regular pickup
[O] Multiple equipped quivers (works?)
........[ ] Autopickup
........[ ] Regular pickup
[X] Autopickup arrows/bolts into multiple non-full quivers (rest in inv)
[O] iuse::quiver still works after refactor