used for hero init, life saving (if choking), and prayer results of fix starving, fix weak from hunger, or golden glow boon (if u.uhunger < 900) */
| 123 | /* used for hero init, life saving (if choking), and prayer results of fix |
| 124 | starving, fix weak from hunger, or golden glow boon (if u.uhunger < 900) */ |
| 125 | void |
| 126 | init_uhunger(void) |
| 127 | { |
| 128 | disp.botl = (u.uhs != NOT_HUNGRY || ATEMP(A_STR) < 0); |
| 129 | u.uhunger = 900; |
| 130 | u.uhs = NOT_HUNGRY; |
| 131 | if (ATEMP(A_STR) < 0) { |
| 132 | ATEMP(A_STR) = 0; |
| 133 | encumber_msg(); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | /* tin types [SPINACH_TIN = -1, overrides corpsenm, nut==600] */ |
| 138 | static const struct { |
no test coverage detected