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

Function mon_nam

src/do_name.c:1041–1046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1039}
1040
1041char *
1042mon_nam(struct monst *mtmp)
1043{
1044 return x_monnam(mtmp, ARTICLE_THE, (char *) 0,
1045 (has_mgivenname(mtmp)) ? SUPPRESS_SADDLE : 0, FALSE);
1046}
1047
1048/* print the name as if mon_nam() (y_monnam() if tame) was called, but
1049 assume that the player can always see the monster--used for probing and

Callers 15

quest_chatFunction · 0.85
savelifeFunction · 0.85
really_doneFunction · 0.85
dositFunction · 0.85
cutwormFunction · 0.85
MonnamFunction · 0.85
mon_nam_tooFunction · 0.85
potionhitFunction · 0.85
split_monFunction · 0.85
attack_checksFunction · 0.85
hmon_hitmon_weapon_meleeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected