E void NDECL(unleash_all);
E boolean NDECL(next_to_u);
E struct obj *FDECL(get_mleash, (struct monst *));
+E const char *NDECL(beautiful);
E void FDECL(check_leash, (XCHAR_P,XCHAR_P));
E boolean FDECL(um_dist, (XCHAR_P,XCHAR_P,XCHAR_P));
E boolean FDECL(snuff_candle, (struct obj *));
}
}
+const char *
+beautiful()
+{
+ return (ACURR(A_CHA) > 14) ?
+ (poly_gender() == 1 ? "beautiful" : "handsome") : "ugly";
+}
+
+
#define WEAK 3 /* from eat.c */
static const char look_str[] = "look %s.";
if(!getdir((char *)0)) return 0;
invis_mirror = Invis;
useeit = !Blind && (!invis_mirror || See_invisible);
- uvisage = (ACURR(A_CHA) > 14) ?
- (poly_gender() == 1 ? "beautiful" : "handsome") : "ugly";
+ uvisage = beautiful();
mirror = simpleonames(obj); /* "mirror" or "looking glass" */
if(obj->cursed && !rn2(2)) {
if (!Blind)
mtmp = u.usteed;
else {
pline("This %s creature is called %s and cannot be renamed.",
- ACURR(A_CHA) > 14 ?
- (flags.female ? "beautiful" : "handsome") :
- "ugly",
- plname);
+ beautiful(), plname);
return;
}
} else