* Generates capitalized entity name, makes 2nd -> 3rd person conversion on * verb, where necessary. */
| 358 | * verb, where necessary. |
| 359 | */ |
| 360 | staticfn const char * |
| 361 | E_phrase(struct entity *etmp, const char *verb) |
| 362 | { |
| 363 | static char wholebuf[80]; |
| 364 | |
| 365 | Strcpy(wholebuf, is_u(etmp) ? "You" : Monnam(etmp->emon)); |
| 366 | if (!verb || !*verb) |
| 367 | return wholebuf; |
| 368 | Strcat(wholebuf, " "); |
| 369 | if (is_u(etmp)) |
| 370 | Strcat(wholebuf, verb); |
| 371 | else |
| 372 | Strcat(wholebuf, vtense((char *) 0, verb)); |
| 373 | return wholebuf; |
| 374 | } |
| 375 | |
| 376 | /* |
| 377 | * Simple-minded "can it be here?" routine |
no test coverage detected