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

Function mon_owns

src/shk.c:5899–5905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5897}
5898
5899staticfn char *
5900mon_owns(char *buf, struct obj *obj)
5901{
5902 if (obj->where == OBJ_MINVENT)
5903 return strcpy(buf, s_suffix(y_monnam(obj->ocarry)));
5904 return (char *) 0;
5905}
5906
5907staticfn const char *
5908cad(

Callers 1

shk_yourFunction · 0.85

Calls 2

s_suffixFunction · 0.85
y_monnamFunction · 0.85

Tested by

no test coverage detected