dipping '-' in fountain, pool, or sink */
| 555 | |
| 556 | /* dipping '-' in fountain, pool, or sink */ |
| 557 | int |
| 558 | wash_hands(void) |
| 559 | { |
| 560 | const char *hands = makeplural(body_part(HAND)); |
| 561 | int res = ER_NOTHING; |
| 562 | boolean was_glib = !!Glib; |
| 563 | |
| 564 | You("wash your %s%s in the %s.", uarmg ? "gloved " : "", hands, |
| 565 | hliquid("water")); |
| 566 | if (Glib) { |
| 567 | make_glib(0); |
| 568 | Your("%s are no longer slippery.", fingers_or_gloves(TRUE)); |
| 569 | } |
| 570 | if (uarmg) |
| 571 | res = water_damage(uarmg, (const char *) 0, TRUE); |
| 572 | /* not what ER_GREASED is for, but the checks in dipfountain just |
| 573 | compare the result to ER_DESTROYED and ER_NOTHING, so it works */ |
| 574 | if (was_glib && res == ER_NOTHING) |
| 575 | res = ER_GREASED; |
| 576 | return res; |
| 577 | } |
| 578 | |
| 579 | /* convert a sink into a fountain */ |
| 580 | void |
no test coverage detected