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

Function neminame

src/questpgr.c:123–131  ·  view source on GitHub ↗

return your role nemesis' name */

Source from the content-addressed store, hash-verified

121
122/* return your role nemesis' name */
123staticfn const char *
124neminame(void)
125{
126 int i = gu.urole.neminum;
127
128 Sprintf(gn.nambuf, "%s%s", type_is_pname(&mons[i]) ? "" : "the ",
129 mons[i].pmnames[NEUTRAL]);
130 return gn.nambuf;
131}
132
133staticfn const char *
134guardname(void) /* return your role leader's guard monster name */

Callers 1

convert_argFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected