MCPcopy Create free account
hub / github.com/NetHack/NetHack / glow_color

Function glow_color

src/artifact.c:2426–2433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2424}
2425
2426const char *
2427glow_color(int arti_indx)
2428{
2429 int colornum = artilist[arti_indx].acolor;
2430 const char *colorstr = clr2colorname(colornum);
2431
2432 return hcolor(colorstr);
2433}
2434
2435/* glow verb; [0] holds the value used when blind */
2436static const char *const glow_verbs[] = {

Callers 2

doname_baseFunction · 0.85
Sting_effectsFunction · 0.85

Calls 2

clr2colornameFunction · 0.85
hcolorFunction · 0.85

Tested by

no test coverage detected