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

Function Shknam

src/shknam.c:842–850  ·  view source on GitHub ↗

version of shkname() for beginning of sentence */

Source from the content-addressed store, hash-verified

840
841/* version of shkname() for beginning of sentence */
842char *
843Shknam(struct monst *mtmp)
844{
845 char *nam = shkname(mtmp);
846
847 /* 'nam[]' is almost certainly already capitalized, but be sure */
848 nam[0] = highc(nam[0]);
849 return nam;
850}
851
852/* shopkeeper's name, without any visibility constraint; if hallucinating,
853 will yield some other shopkeeper's name (not necessarily one residing

Callers 15

poly_objFunction · 0.85
impact_dropFunction · 0.85
u_left_shopFunction · 0.85
u_entered_shopFunction · 0.85
pick_pickFunction · 0.85
rouse_shkFunction · 0.85
make_happy_shkFunction · 0.85
make_angry_shkFunction · 0.85
dopayFunction · 0.85
reject_purchaseFunction · 0.85
inheritsFunction · 0.85
special_stockFunction · 0.85

Calls 2

shknameFunction · 0.85
highcFunction · 0.85

Tested by

no test coverage detected