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

Function rndghostname

src/do_name.c:771–776  ·  view source on GitHub ↗

ghost names formerly set by x_monnam(), now by makemon() instead */

Source from the content-addressed store, hash-verified

769
770/* ghost names formerly set by x_monnam(), now by makemon() instead */
771const char *
772rndghostname(void)
773{
774 return rn2(7) ? ROLL_FROM(ghostnames)
775 : (const char *) svp.plname;
776}
777
778/*
779 * Monster naming functions:

Callers 1

makemonFunction · 0.85

Calls 1

rn2Function · 0.85

Tested by

no test coverage detected