]> granicus.if.org Git - nethack/commit
silver dragon colour
authornethack.allison <nethack.allison>
Sat, 4 Jan 2003 17:37:09 +0000 (17:37 +0000)
committernethack.allison <nethack.allison>
Sat, 4 Jan 2003 17:37:09 +0000 (17:37 +0000)
commitb4a65cab8f6f829c379856cdad5cf934f6d18f74
tree08060fee9d4df0366ad6c394191f5674a2f45398
parenta26514bd6108dd85ea542aa7967778b78d65c07f
silver dragon colour

Back in 2000 "Pat Rankin" wrote:
>      From a user (in a message which had several unrelated things):
>
> > I think the colour of silver dragon scales / scale mail should not be
> > SILVER (which is not a colour), but HI_SILVER. Of course the colour of
> > silver dragons would have to be adjusted to match this.
>
> I don't normally have access to a color display, so I hadn't noticed
> that silver dragons are CLR_BRIGHT_CYAN.  It is pure coincidence
> that material SILVER happens to have the same numeric value as that.
> Is bright cyan intentional, to make them distinguishable from gray
> dragons (since color HI_SILVER is defined to be the same as CLR_GRAY)?
> Or was it done for the monsters just because the corresponding objects
> accidentally had the wrong value?  It seems to me that they ought to
> be the same shade of silver (ie, gray) as other silver things, even
> if that makes them look identical to gray dragons.

Using the material value SILVER in the "color"
field was wrong, no matter what the reason. I
suspect it was probably a mistake originally.

This patch does not alter the displayed colour for the
bug-fix release, but does correct the misuse of the
material.
include/color.h
src/monst.c
src/objects.c