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

Function peffect_object_detection

src/potion.c:954–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

952}
953
954staticfn int
955peffect_object_detection(struct obj *otmp)
956{
957 if (object_detect(otmp, 0))
958 return 1; /* nothing detected */
959 exercise(A_WIS, TRUE);
960 return 0;
961}
962
963staticfn void
964peffect_sickness(struct obj *otmp)

Callers 1

peffectsFunction · 0.85

Calls 2

object_detectFunction · 0.85
exerciseFunction · 0.85

Tested by

no test coverage detected