| 69 | } |
| 70 | |
| 71 | staticfn void |
| 72 | get_mplname(struct monst *mtmp, char *nam) |
| 73 | { |
| 74 | boolean fmlkind = is_female(mtmp->data); |
| 75 | const char *devnam; |
| 76 | |
| 77 | devnam = dev_name(); |
| 78 | if (!devnam) |
| 79 | Strcpy(nam, fmlkind ? "Eve" : "Adam"); |
| 80 | else if (fmlkind && !!strcmp(devnam, "Janet")) |
| 81 | Strcpy(nam, rn2(2) ? "Maud" : "Eve"); |
| 82 | else |
| 83 | Strcpy(nam, devnam); |
| 84 | |
| 85 | if (fmlkind || !strcmp(nam, "Janet")) |
| 86 | mtmp->female = 1; |
| 87 | else |
| 88 | mtmp->female = 0; |
| 89 | Strcat(nam, " the "); |
| 90 | Strcat(nam, rank_of((int) mtmp->m_lev, monsndx(mtmp->data), |
| 91 | (boolean) mtmp->female)); |
| 92 | } |
| 93 | |
| 94 | staticfn void |
| 95 | mk_mplayer_armor(struct monst *mon, short typ) |
no test coverage detected