MCPcopy Index your code
hub / github.com/NetHack/NetHack / identify

Function identify

src/invent.c:2650–2656  ·  view source on GitHub ↗

ggetobj callback routine; identify an object and give immediate feedback */

Source from the content-addressed store, hash-verified

2648
2649/* ggetobj callback routine; identify an object and give immediate feedback */
2650int
2651identify(struct obj *otmp)
2652{
2653 fully_identify_obj(otmp);
2654 prinv((char *) 0, otmp, 0L);
2655 return 1;
2656}
2657
2658/* menu of unidentified objects; select and identify up to id_limit of them */
2659staticfn void

Callers 3

menu_identifyFunction · 0.85
identify_packFunction · 0.85
invent.cFile · 0.85

Calls 2

fully_identify_objFunction · 0.85
prinvFunction · 0.85

Tested by

no test coverage detected