CleverRaven/Cataclysm-DDA — pull request #7774 by TranquilMarmot (2014-05-29 10:41:59+00:00)
Title: Whip it!

The whip has unlimited "ammo", but can only be used to hit stuff three spaces away and makes a sound of 50. Hitting a monster will stun it for a second or two and do a tiny amount of damage. There's a chance that when you hit wildlife it will get scared away! Great for pesky cougars. It can also be used to pull yourself out of sinkholes and lower yourself down into pits,

The whip can be crafted with a fabrication of 6, 20 leather, and 2 short ropes. I also added it to some spawns (pretty rare, except for as farm equipment). It uses the melee skill to determine how fast the whipping happens, but that's about the only think that changes with skill levels.

Because I couldn't resist... I added an archaeologist profession inspired by a certain raider of lost arks. Unfortunately, that also meant adding a fedora, although the only way to get the fedora right now is to start as an archaeologist. The archaeologist starts with lots of pistol ammo and the whip is pretty handy, so it costs 5 points. Also starts with a spiral stone (which as far as I can tell is useless) and an etched skull (which opens up temples- which seem to be exceedingly rare these days).

Also a minor fix; weapons that have the NO_AMMO flag no longer display any ammo next to their name in item lists and when firing. That means that weapons that use a UPS no longer have a (1) next to their names!