1896018: cycle ammo with '(' 1895278: no (v)iewing of unreadable books 1895075: cancel Ely's abilities without cost Fix 1894920: fix overly long dungeon overview
Also fix 1884145: weapon swap ignoring {!w}
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3441 c06c8d41-db1a-0410-9941-cceddc491573
TRZAZJJA5VQBJ65SO5H5DNSILIZEJHIZCBYEBHEATCT6ZSMWIFKQC
CXIMQKHAORTQT6MN77TTYKK6IFIF6STKQWIMNAF54CFXAAQ5BKFAC
VCG3BRIYRTNNWYC3LOXD6KFGXOX37HAFW2HNV7WXVG2V7EUHLDZQC
FOQJ5S5WR7P7YMEWQ5Q4O7LTGLQ7LFVM4I2SG2Q7MIVC4PB2JHTQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
5ASC3STDYCNLZFEBN6UTMUCGDETHBR2OCBZCF5VIAZ5RRWLOTDYQC
43ZTEB57FU7KE5EVMYWZONNVJBZCGF3JEAJZIY25LC4LGE65PG5QC
AVCMVFA3MKCXHO6H44UK5KJNIHTGQV7UA7GYXM26VI6TXXU5ZN6QC
PTB7I4WQ3NTF7BE3O6WKXDSJD6QRWSZIEWPBSZGCJJZVNKT4OL5AC
PJDC24L7LXX6NZ7J5P7MNJJHAKQDJQEBV4CMDR4VSXLMWRIBMNKQC
I2B33Z7NZGC33AMDSSK446AZZYWKPHWLAGULVHKKZU4MVB4BNJOAC
YL3SLEMOESF2QDGYWH5ATHN46PODT57GQUKYHWDAV4HFC5AR6OHQC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
OWNMHNCGA5H3A6AULXXW473PKC7N6IINE3LJCB3KCFG2XA3TYCQQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
P3BAFR6LTI7HANQCRLZWJ7LRJYFPFYIG7OVZV4RZM5EAMODRJKZAC
JVSCP4FTW2G57C6YD5HZOZXTODGZH7TR75JQGFJBEPX3LCZH236QC
JJH7VX2LLBZPDKG24SQREWQLX6I6RYNWFECHRZVK7PT5KPQ4MAMAC
2YZN7CPQFZMSMFMVCE2FATR52SVDE3OZHTS7F7QCKJIZUA4WX2AQC
FXLBM7PB5FCPMKZNI3NSVDAEM26MAQU5RG55BEBL3LRN7QMPLWTAC
JM7UAK777RAVDAVLQLEOBRTGNW2B47S5G55XITJXO243IUNZHVYQC
P2YNOE2TUTZFAOBTHJOIVD6TCV7J7D2UKUX67LHZUL6QY44ZMENQC
RVST2QHYJ757ZHK4AUJ5NGPDZ44AD6RVFVXYPKQIBJXZBDNUCHXQC
Y3ZCJ2CZJYJAEB76HS4EY4GD64TDPPKANQVNDEH2OJPRDPZWJNYAC
R5Q2OJMXNVK5RPXIKLTHHAOP67XOBB44AZKKZ2TOI3USPL6HACXAC
if (you.duration[DUR_SURE_BLADE])
{
mpr("The bond with your blade fades away.");
you.duration[DUR_SURE_BLADE] = 0;
}
else if (item_slot == PROMPT_GOT_SPECIAL) // '-' or bare hands
else if (item_slot == you.equip[EQ_WEAPON])
{
mpr("You are already wielding that!");
return (true);
}
// now we really change weapons (most likely, at least)
if (you.duration[DUR_SURE_BLADE])
{
mpr("The bond with your blade fades away.");
you.duration[DUR_SURE_BLADE] = 0;
}
// Reset the warning counter.
you.received_weapon_warning = false;
if (item_slot == PROMPT_GOT_SPECIAL) // '-' or bare hands
// can we safely unwield this item?
if (has_warning_inscription(you.inv[you.equip[EQ_WEAPON]], OPER_WIELD))
{
std::string prompt = "Really unwield ";
prompt += you.inv[you.equip[EQ_WEAPON]].name(DESC_INVENTORY);
prompt += '?';
if (!yesno(prompt.c_str(), false, 'n'))
return (false);
}
If you would rather pick off monsters from a safe distance, you will
need ammunition for your sling, bow, or other appropriate launcher.
Several kinds of ammunition, such as javelins, are effective when simply
thrown; other kinds require you to wield an appropriate device to
inflict worthwhile damage. Ammunition has only one "plus" value, which
affects both accuracy and damage. If you have ammunition suitable for
what you are wielding, the 'f' command will choose the first lot in your
inventory, or you can use the 't' command to throw anything. If you are
using the right kind of hand weapon, you will "shoot" the ammunition,
otherwise you will "throw" it. At times it is also sensible to throw
If you would rather pick off monsters from a safe distance, you will
need ammunition for your sling, bow, or other appropriate launcher.
Several kinds of ammunition, such as javelins, are effective when simply
thrown; other kinds require you to wield an appropriate device to
inflict worthwhile damage. Ammunition has only one "plus" value, which
affects both accuracy and damage.
The 'f' command fires a piece of ammunition, chosen from lots suitable
for your weapon and defaulting to your preferred lot (or "quiver"),
typically the last lot you fired. Use the '(' command if you want to
change your quiver without firing. Use the 't' command to throw
anything.
Regardless of their mnemonics, if you are using the right kind of hand
weapon both 'f' and 't' will make you "shoot" the ammunition.
Otherwise, you will "throw" it. At times it is also sensible to throw