return a random real color unless hallucinating */
| 1467 | |
| 1468 | /* return a random real color unless hallucinating */ |
| 1469 | const char * |
| 1470 | rndcolor(void) |
| 1471 | { |
| 1472 | int k = rn2(CLR_MAX); |
| 1473 | |
| 1474 | return Hallucination ? hcolor((char *) 0) |
| 1475 | : (k == NO_COLOR) ? "colorless" |
| 1476 | : c_obj_colors[k]; |
| 1477 | } |
| 1478 | |
| 1479 | static NEARDATA const char *const hliquids[] = { |
| 1480 | "yoghurt", "oobleck", "clotted blood", "diluted water", "purified water", |
no test coverage detected