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

Function dowipe

src/do.c:2389–2404  ·  view source on GitHub ↗

the #wipe command - wipe off your face */

Source from the content-addressed store, hash-verified

2387
2388/* the #wipe command - wipe off your face */
2389int
2390dowipe(void)
2391{
2392 if (u.ucreamed) {
2393 static NEARDATA char buf[39];
2394
2395 Sprintf(buf, "wiping off your %s", body_part(FACE));
2396 set_occupation(wipeoff, buf, 0);
2397 /* Not totally correct; what if they change back after now
2398 * but before they're finished wiping?
2399 */
2400 return ECMD_TIME;
2401 }
2402 Your("%s is already clean.", body_part(FACE));
2403 return ECMD_TIME;
2404}
2405
2406/* common wounded legs feedback */
2407void

Callers

nothing calls this directly

Calls 3

body_partFunction · 0.85
set_occupationFunction · 0.85
YourFunction · 0.85

Tested by

no test coverage detected