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

Function dolook

src/invent.c:4318–4331  ·  view source on GitHub ↗

#look command - explicitly look at what is here, including all objects */

Source from the content-addressed store, hash-verified

4316
4317/* #look command - explicitly look at what is here, including all objects */
4318int
4319dolook(void)
4320{
4321 int res;
4322
4323 /* don't let
4324 MSGTYPE={norep,noshow} "You see here"
4325 interfere with feedback from the look-here command */
4326 hide_unhide_msgtypes(TRUE, MSGTYP_MASK_REP_SHOW);
4327 res = look_here(0, LOOKHERE_NOFLAGS);
4328 /* restore normal msgtype handling */
4329 hide_unhide_msgtypes(FALSE, MSGTYP_MASK_REP_SHOW);
4330 return res;
4331}
4332
4333boolean
4334will_feel_cockatrice(struct obj *otmp, boolean force_touch)

Callers

nothing calls this directly

Calls 2

hide_unhide_msgtypesFunction · 0.85
look_hereFunction · 0.85

Tested by

no test coverage detected