| 86 | } |
| 87 | |
| 88 | void |
| 89 | make_confused(long xtime, boolean talk) |
| 90 | { |
| 91 | long old = HConfusion; |
| 92 | |
| 93 | if (Unaware) |
| 94 | talk = FALSE; |
| 95 | |
| 96 | if (!xtime && old) { |
| 97 | if (talk) |
| 98 | You_feel("less %s now.", Hallucination ? "trippy" : "confused"); |
| 99 | } |
| 100 | if ((xtime && !old) || (!xtime && old)) |
| 101 | disp.botl = TRUE; |
| 102 | |
| 103 | set_itimeout(&HConfusion, xtime); |
| 104 | } |
| 105 | |
| 106 | void |
| 107 | make_stunned(long xtime, boolean talk) |
no test coverage detected