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

Function obj_to_let

src/invent.c:2860–2868  ·  view source on GitHub ↗

should of course only be called for things in invent */

Source from the content-addressed store, hash-verified

2858
2859/* should of course only be called for things in invent */
2860staticfn char
2861obj_to_let(struct obj *obj)
2862{
2863 if (!flags.invlet_constant) {
2864 obj->invlet = NOINVSYM;
2865 reassign();
2866 }
2867 return obj->invlet;
2868}
2869
2870/*
2871 * Print the indicated quantity of the given object. If quan == 0L then use

Callers 6

prinvFunction · 0.85
doprwepFunction · 0.85
doprarmFunction · 0.85
doprringFunction · 0.85
dopramuletFunction · 0.85
doprtoolFunction · 0.85

Calls 1

reassignFunction · 0.85

Tested by

no test coverage detected