tool, and make pure casters not wield said knife (they're unarmed instead). Hunters now start wielding their sling/bow/crossbow. Hunters starting without a launcher will still be wielding their dagger. Update the tutorial accordingly, i.e. you might not have to switch weapons now to fire your bow.
Also, unrestrict Centaur Paladins.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6455 c06c8d41-db1a-0410-9941-cceddc491573
TBJIAJXXLFKL2TTRXBVDVCX252MTD567YCRETKJGZLVWCW3DOUXAC
5LIWCQ5G74WIMISKX3SBMZFPVVYEDNUIREAK55XYR5RTNSHVGDYQC
33MBISZXMRGZMQ37PVINHKNWAXHYPHURMRG6ST7O2SKIRGGBHI2AC
LS5XCCGKQHSJQGWLWLGTP2F5OYWK4ND5AQQAGRN6H2HVBSXNCCZAC
77H4BWWPPGLM3PLZH4QTAJRXIZTSDVNCOKZE223I437FN2UJ34RQC
W54GZBNFKPOF6DTOVK73PVASTQI5DXG42WQ6CXFDPXHFZOHUVVSQC
C2PRXJYHDRF2642VDAUY76HJKCPQFGWDI6AM3SMCMYCHGWYDQXQQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
UKYGZDI6PYZPXDACCQGVPHANUP5ADCSNROOZIE7LYIZQWSNFHJZAC
3U54KX4JPCEBGC3USUQJVX35HBEWV6DX6ZZ4RV7GT3HBX7LMLKPAC
VXSORUQOM2VZA4CAZDC6KPAY373NQIN3UT7CXQXTRCYXO2WM62DAC
"this. First <w>w</w>ield it, then follow the instructions.";
"this. ";
if (you.equip[EQ_WEAPON] == -1
|| you.inv[you.equip[EQ_WEAPON]].base_type != OBJ_WEAPONS
|| you.inv[you.equip[EQ_WEAPON]].sub_type != WPN_BOW)
{
text += "First <w>w</w>ield it, then follow the instructions.";
}
bool _needs_butchering_tool()
{
// Mummies/Vampires don't eat.
// Ghouls have claws (see below).
if (you.is_undead)
return (false);
// Trolls have claws.
if (you.has_claws())
return (false);
// Spriggans don't eat meat.
if (you.mutation[MUT_HERBIVOROUS] == 3)
return (false);
return (true);
if (!you.is_undead && !you.has_claws())
_newgame_make_item(0, EQ_WEAPON, OBJ_WEAPONS, WPN_KNIFE);
// The knife is a tool, not a weapon, so don't start wielding it.
if (_needs_butchering_tool())
_newgame_make_item(0, EQ_NONE, OBJ_WEAPONS, WPN_KNIFE);
if (!you.is_undead && !you.has_claws())
_newgame_make_item(0, EQ_WEAPON, OBJ_WEAPONS, WPN_KNIFE);
// The knife is a tool, not a weapon, so don't start wielding it.
if (_needs_butchering_tool())
_newgame_make_item(0, EQ_NONE, OBJ_WEAPONS, WPN_KNIFE);