From 80322ee47df1d933a372dd079c2b9125607dd898 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Wed, 1 Apr 2009 00:33:53 +0000 Subject: [PATCH] rusty pearl rings (trunk only) Recent newsgroup discussion complained about a pearl ring becoming rusty. That has no effect on game play but does feel weird. Rings which are described by their gems specify a material based on the gem rather than on the band, so making pearl rings be made out of iron didn't fit. The substance pearls are made of is the same as in the shells of the oysters or whatever critters excrete them. The closest matches available seem to be mineral and bone; I've gone with bone here. --- doc/fixes35.0 | 1 + src/objects.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes35.0 b/doc/fixes35.0 index f2e513612..af7154f5c 100644 --- a/doc/fixes35.0 +++ b/doc/fixes35.0 @@ -317,6 +317,7 @@ applying a bullwhip while at very edge of map could target beyond edge, prevent temple priests and minions from wearing helms of opposite alignment 'D' drop command didn't handle 'u' choice correctly if the only unpaid items were inside containers +pearl rings shouldn't rust Platform- and/or Interface-Specific Fixes diff --git a/src/objects.c b/src/objects.c index beb88415d..a8837de6b 100644 --- a/src/objects.c +++ b/src/objects.c @@ -518,7 +518,7 @@ RING("aggravate monster", AGGRAVATE_MONSTER, "sapphire", RING("conflict", CONFLICT, "ruby", 300, 1, 0, 9, GEMSTONE, CLR_RED), RING("warning", WARNING, "diamond", 100, 1, 0,10, GEMSTONE, CLR_WHITE), RING("poison resistance", POISON_RES, "pearl", - 150, 1, 0, 4, IRON, CLR_WHITE), + 150, 1, 0, 4, BONE, CLR_WHITE), RING("fire resistance", FIRE_RES, "iron", 200, 1, 0, 5, IRON, HI_METAL), RING("cold resistance", COLD_RES, "brass", 150, 1, 0, 4, COPPER, HI_COPPER), RING("shock resistance", SHOCK_RES, "copper",