From bdef58ca99e4b4239bbd98b7057218231625e378 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Thu, 31 Dec 2009 22:29:01 +1000 Subject: Remove hand crossbows. This involves a lot of changes, and also increments TAG_MAJOR_VERSION to 13. The unrand "Sniper" is now a crossbow (hopefully its current title is still suitable for this task), and thieves no longer start with hand crossbows (but still retain darts). Wanderers with crossbow skills will now get a crossbow and bolts. This may be overpowered, but I didn't want to change the code here too much. It can always be adjusted. This removes the "quiver_type" enum from enum.h, and uses NUM_AMMO in the player.h quiver vector instead. Random elves that generated with hand crossbows before no longer do so, and this has not been replaced by normal crossbows. I hope that's everything! --- crawl-ref/source/itemprop-enum.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'crawl-ref/source/itemprop-enum.h') diff --git a/crawl-ref/source/itemprop-enum.h b/crawl-ref/source/itemprop-enum.h index 44ef53c65c..9947f0cbbd 100644 --- a/crawl-ref/source/itemprop-enum.h +++ b/crawl-ref/source/itemprop-enum.h @@ -396,49 +396,49 @@ enum stave_type enum weapon_type { - WPN_CLUB, // 0 + WPN_CLUB, WPN_WHIP, WPN_HAMMER, WPN_MACE, WPN_FLAIL, - WPN_MORNINGSTAR, // 5 + WPN_MORNINGSTAR, WPN_SPIKED_FLAIL, WPN_DIRE_FLAIL, WPN_EVENINGSTAR, WPN_GREAT_MACE, - WPN_DAGGER, // 10 + WPN_DAGGER, WPN_QUICK_BLADE, WPN_SHORT_SWORD, WPN_SABRE, WPN_FALCHION, - WPN_LONG_SWORD, // 15 + WPN_LONG_SWORD, WPN_SCIMITAR, WPN_GREAT_SWORD, WPN_HAND_AXE, WPN_WAR_AXE, - WPN_BROAD_AXE, // 20 + WPN_BROAD_AXE, WPN_BATTLEAXE, WPN_EXECUTIONERS_AXE, WPN_SPEAR, WPN_TRIDENT, - WPN_HALBERD, // 25 + WPN_HALBERD, WPN_GLAIVE, WPN_BARDICHE, WPN_BLOWGUN, - WPN_HAND_CROSSBOW, - WPN_CROSSBOW, // 30 + WPN_CROSSBOW, + // Was hand crossbows, they are gone. WPN_BOW, WPN_LONGBOW, WPN_MAX_RACIAL = WPN_LONGBOW, WPN_ANKUS, WPN_DEMON_WHIP, - WPN_GIANT_CLUB, // 35 + WPN_GIANT_CLUB, WPN_GIANT_SPIKED_CLUB, WPN_KNIFE, -- cgit v1.2.3-54-g00ecf