Nethack patches

A bunch of assorted patches I have written for Nethack. Many of these have been inspired by YANIs posted to rec.games.roguelike.nethack by assorted Nethackers. I've tried to acknowledge such credit where it is due.

Patches marked with a '*' will affect save-game and bones-file compatibility.

for version 3.4.3

Poisoned weapons patch
- Adds several new weapon poison types: sleep, confusion and paralysis
Cancellation patch
- Monsters can use wands of cancellation, which cancel a single item of your equipment, randomly chosen. Also includes the DSM cancellation patch, which causes cancelled DSM to revert to scales.
Combined Alchemy patch
- A combination of the gem-alchemy patch (below) with Nephi's colour alchemy patch 1.2.
Lenses patch
- New magical lenses. *
Statue patch
- Statues are displayed using monster glyphs (save-game compatibility and X11 support added by Carl Mummert)
Mining helmets
- Dwarvish iron helms (hard hats) are now mining helmets. They have a lamp on them and can be used as brass lanterns. From an idea posted to r.g.r.n. by Dr Darth
All of the above (except the statue patch) combined.
Tinfoil hats
- Adds a new armor type -- the tinfoil hat. This hat blocks psychic energy, blocking telepathy (both in and out). From an idea posted to r.g.r.n. by lament
Improved Beartraps
- Beartraps now wound your feet as per xans. Also, a wand of opening will release you from a beartap. Suggested by Sammiel in r.g.r.n.
Animal Handling
- Added a new skill - animal handling - for primarily for Rangers, which allows you to make hostile animals peaceful by #chatting to them.
Partial XP
- Putting a monster to sleep, stunning or confusing it will grant you a fraction of its XP, which is subtracted from what you get when you kill it. (Experimental) *
Nymphs in trees
- Kicking a tree sometimes conjures a wood nymph. Suggested by Haakon Studebaker in r.g.r.n.
Cancelling magic traps
- Zapping a wand of cancellation at a magical trap disarms it. Suggested by Haakon Studebaker in r.g.r.n.
Lucky Fedora
- Wearing a fedora gives you a luck bonus. Code by Stephen White, stolen from Slash'em.
Brewing potions
- Dipping different molds in potions will produce new potions (after sufficient fermentation time). Suggested by Jeremiah Weiner in r.g.r.n.
Tinning rust monsters
- Tinning a rust monster, or any other corrosion-causing monster, will rust your tinning kit. Opening such tins will rust the tool you use to open the tin. Inspired by a suggestion by kcolrawyksthgin in r.g.r.n
Improved tin opener
- (a)pplying a tin-opener now automatically wields and uses it, rather than giving a message.
Rusting iron bars
- Rust monsters (and others will rust and corrode attacks) can eat through iron bars.
Candles on altars
- A candle on a coaligned altar will burn more brightly when it is safe to pray. From a YANI by kcolrawyksthgin
Moon phase lighting
- The phase of the moon affects the lighting of the dungeron. YANI by Janis Papanagnou.
My base patch
A basis for other patches. It removes all the #ifdefs for TOURIST and STEED and creates a 'non-combat skills' category (which includes riding).
Confused whistling
Using a magic whistle while confused teleports you to your pet. Suggested by Eldak in rgrn
Cosh/backstab
Changes the rules for backstabbing, and adds a new weapon, the cosh, which can be used to knock out enemies. *
Autofire
Removes the "You begin bashing the monster with your bow." message. Instead, melee attacks with a missile launcher with automatically fire it.

The 3.4.3 patches below all require the base patch to be installed first.

Alchemy skill
Adds alchemy as a new skill. Incorporates the combined alchemy patch and the brewing patch above.

for version 3.4.2

Poisoned weapons patch
- Adds several new weapon poison types: sleep, confusion and paralysis
DSM cancellation patch
- Cancelling dragon scale mail makes it revert to its natural form (As suggested by Daniel Morris in rgrn)

For version 3.4.1

Alchemy patch
- Extended alchemy. Allows you to dissolve valuable gems in acid to make potions.
Combined Alchemy patch
- Further extended alchemy. Combines the above patch with Nephi's colour alchemy patch 1.0.
Lenses patch
- New magical lenses. *
Statue patch
- Statues are displayed using monster glyphs (now includes code by Carl Mummert to ensure save-game compatibility)

For version 3.4.0

Torch patch
- Adds a new weapon/light-source to the game - the torch. *
Portable hole patch
- Hole traps can be disarmed while hallucinating, producing portable holes *
Mirror of entrapment patch
- Creates a "mirror of entrapment" object, which can suck in monsters. (Work in progress.) *
Eye of newt patch
- Eating a newt corpse gives you a small increase in magical energy (incorporated into offical release 3.4.1).
Eucalyptus leaf patch
- Enables you to use eucalyptus leaves as whistles (incorporated into official release 3.4.1).
Statue patch
- Statues are displayed using monster glyphs *
Alchemy patch
- Extended alchemy. Allows you to dissolve valuable gems in acid to make potions.
Lenses patch
- New magical lenses. *

For version 3.3.1

Eucalyptus leaf patch
- enables you to use eucalyptus leaves as whistles
Strerror patch
- changes files.c to print more meaningful error messages

Other Sites

The Official Nethack site
Nethack Patch Database
Malcolm Ryan