]> granicus.if.org Git - nethack/commit
gold dragon and scales
authorPatR <rankin@nethack.org>
Fri, 23 Jul 2021 17:41:57 +0000 (10:41 -0700)
committerPatR <rankin@nethack.org>
Fri, 23 Jul 2021 17:41:57 +0000 (10:41 -0700)
commit5a09a01a13ee4e6e169a7ec0b7e1697ce69a87ac
tree42bb86307a7cd6c9f3d14ea787844af21e73a6df
parent8e2f1685447f2d0911878dc3d0d505abab61b17c
gold dragon and scales

Add two new monsters and two new objects:
 gold dragon
 baby gold dragon
 gold dragon scale mail
 set of gold dragon scales

A couple of variants seem to have added these already, but this came
off my ancient list of monsters to add and was done from scratch.
It's a clone of silver dragon, but instead of having reflection and
breathing cold, a gold dragon emits light and breathes fire; because
of the latter it can be seen with infravision like a red dragon.
Adult gold dragons are lawful as in the AD&D Monster Manual rather
than chaotic as the wiki pages show for the variant versions.

Worn gold dragon scales operate similar to wielded Sunsword:  when
blessed, radius is 3 (same as a lamp), if uncursed, radius is 2, and
if cursed, radius is 1 (but functions as 2 when worn by the hero,
otherwise there would be no tangible effect).  Gold dragon scale mail
gets an extra +1, making blessed gold DSM have a bigger radius than
lamps.  Embedded scales have radius 1 regardless of BUC state; light
for that case comes from the gold dragon monster form the hero is in.
When not worn, gold scales and scale-mail don't emit any light.

The tiles use a mix of yellow (for gold) and red.  The two object
tiles seem reasonable variations of the corresponding silver dragon
ones.  The two monster tiles definitely need work since the silver
ones were mostly cyan and changing that to red did not produce very
good result; subsequent attempt at a mixture was haphazard at best.
17 files changed:
doc/fixes37.0
include/extern.h
include/mondata.h
include/patchlevel.h
src/artifact.c
src/do_wear.c
src/light.c
src/mkobj.c
src/monmove.c
src/monst.c
src/objects.c
src/objnam.c
src/polyself.c
src/read.c
src/worn.c
win/share/monsters.txt
win/share/objects.txt