Find a gem in the sparkling waters. */
| 162 | |
| 163 | /* Find a gem in the sparkling waters. */ |
| 164 | staticfn void |
| 165 | dofindgem(void) |
| 166 | { |
| 167 | if (!Blind) |
| 168 | You("spot a gem in the sparkling waters!"); |
| 169 | else |
| 170 | You_feel("a gem here!"); |
| 171 | (void) mksobj_at(rnd_class(DILITHIUM_CRYSTAL, LUCKSTONE - 1), u.ux, u.uy, |
| 172 | FALSE, FALSE); |
| 173 | SET_FOUNTAIN_LOOTED(u.ux, u.uy); |
| 174 | newsym(u.ux, u.uy); |
| 175 | exercise(A_WIS, TRUE); /* a discovery! */ |
| 176 | } |
| 177 | |
| 178 | staticfn boolean |
| 179 | watchman_warn_fountain(struct monst *mtmp) |