hamper performance and is still not optimal: Wielding a sling, running out of stones, firing darts instead and then picking up some new stones won't make the quiver switch away from the darts because you "explicitly" fired them.
Also, can someone please tell me whether "(" or ")" are supposed to loop to the correct next item? I haven't been able to work that out from the quiver behaviour alone - it's not all that consistent, unfortunately.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6108 c06c8d41-db1a-0410-9941-cceddc491573
X343NDQNM6NY4KNVC45IV6BYY5XQR4RLSNJBMCFDSHFG73ZVYS3AC
BTRAY4TN65HMJ3MKRCF3J2TW27ZPZE72UUT24DQN3YST4PBW647AC
RTB6BWX5OPHNXFSRXCQ34G5THZO4F6QZCW4GQBAL6JHVEMEMSPOAC
COLMJH3UIQFF4R5AV642OJK4HHGUIIPLNP5WGKLWWYNJV7ZGPI7AC
ENI6P5WUO7DS4Y7EUDCYB4PSNT7CXH2L5JIB5BLZHNMWN4QDXMWQC
VNSLOK372XJJSBJRVPCEFXCXSGYBOUAEBWGNG2KEK6XRZI6GTK6AC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
3D6NWJ44UYHLZMD3BOQIWXJUEGITAVCHK6Z2WWDQONVQC4HSBRXQC
XRZPPYWPWUOM4SFNI6BHKH2UKJQNLKOV6Y7XIEPEZXE5QYRT26PAC
wstring += " nothing";
}
else if (slot == -1)
{
wstring += " - ";
wstring += item->name(DESC_NOCAP_A);
wstring += " (empty)";
const item_def* item;
you.m_quiver->get_desired_item(&item, &slot);
if (!is_valid_item(*item))
{
wstring += " nothing";
}
else
{
wstring += " - ";
wstring += item->name(DESC_NOCAP_A);
wstring += " (empty)";
}