seduction and "it"

use noit_* functions for monster names after the deed is done, to make
code consistent with the "you have discovered mon's identity" comment
This commit is contained in:
cohrs
2002-02-12 04:29:17 +00:00
parent 443035da2f
commit e541a42e0d

View File

@@ -2122,11 +2122,11 @@ register struct monst *mon;
/* by this point you have discovered mon's identity, blind or not... */ /* by this point you have discovered mon's identity, blind or not... */
pline("Time stands still while you and %s lie in each other's arms...", pline("Time stands still while you and %s lie in each other's arms...",
mon_nam(mon)); noit_mon_nam(mon));
if (rn2(35) > ACURR(A_CHA) + ACURR(A_INT)) { if (rn2(35) > ACURR(A_CHA) + ACURR(A_INT)) {
/* Don't bother with mspec_used here... it didn't get tired! */ /* Don't bother with mspec_used here... it didn't get tired! */
pline("%s seems to have enjoyed it more than you...", pline("%s seems to have enjoyed it more than you...",
Monnam(mon)); noit_Monnam(mon));
switch (rn2(5)) { switch (rn2(5)) {
case 0: You_feel("drained of energy."); case 0: You_feel("drained of energy.");
u.uen = 0; u.uen = 0;
@@ -2164,42 +2164,44 @@ register struct monst *mon;
} }
} else { } else {
mon->mspec_used = rnd(100); /* monster is worn out */ mon->mspec_used = rnd(100); /* monster is worn out */
You("seem to have enjoyed it more than %s...", mon_nam(mon)); You("seem to have enjoyed it more than %s...",
noit_mon_nam(mon));
switch (rn2(5)) { switch (rn2(5)) {
case 0: You_feel("raised to your full potential."); case 0: You_feel("raised to your full potential.");
exercise(A_CON, TRUE); exercise(A_CON, TRUE);
u.uen = (u.uenmax += rnd(5)); u.uen = (u.uenmax += rnd(5));
break; break;
case 1: You_feel("good enough to do it again."); case 1: You_feel("good enough to do it again.");
(void) adjattrib(A_CON, 1, TRUE); (void) adjattrib(A_CON, 1, TRUE);
exercise(A_CON, TRUE); exercise(A_CON, TRUE);
flags.botl = 1; flags.botl = 1;
break; break;
case 2: You("will always remember %s...", mon_nam(mon)); case 2: You("will always remember %s...", noit_mon_nam(mon));
(void) adjattrib(A_WIS, 1, TRUE); (void) adjattrib(A_WIS, 1, TRUE);
exercise(A_WIS, TRUE); exercise(A_WIS, TRUE);
flags.botl = 1; flags.botl = 1;
break; break;
case 3: pline("That was a very educational experience."); case 3: pline("That was a very educational experience.");
pluslvl(FALSE); pluslvl(FALSE);
exercise(A_WIS, TRUE); exercise(A_WIS, TRUE);
break; break;
case 4: You_feel("restored to health!"); case 4: You_feel("restored to health!");
u.uhp = u.uhpmax; u.uhp = u.uhpmax;
if (Upolyd) u.mh = u.mhmax; if (Upolyd) u.mh = u.mhmax;
exercise(A_STR, TRUE); exercise(A_STR, TRUE);
flags.botl = 1; flags.botl = 1;
break; break;
} }
} }
if (mon->mtame) /* don't charge */ ; if (mon->mtame) /* don't charge */ ;
else if (rn2(20) < ACURR(A_CHA)) { else if (rn2(20) < ACURR(A_CHA)) {
pline("%s demands that you pay %s, but you refuse...", pline("%s demands that you pay %s, but you refuse...",
Monnam(mon), mhim(mon)); noit_Monnam(mon),
Blind ? (fem ? "her" : "him") : mhim(mon));
} else if (u.umonnum == PM_LEPRECHAUN) } else if (u.umonnum == PM_LEPRECHAUN)
pline("%s tries to take your money, but fails...", pline("%s tries to take your money, but fails...",
Monnam(mon)); noit_Monnam(mon));
else { else {
#ifndef GOLDOBJ #ifndef GOLDOBJ
long cost; long cost;
@@ -2216,7 +2218,7 @@ register struct monst *mon;
if (!cost) verbalize("It's on the house!"); if (!cost) verbalize("It's on the house!");
else { else {
pline("%s takes %ld %s for services rendered!", pline("%s takes %ld %s for services rendered!",
Monnam(mon), cost, currency(cost)); noit_Monnam(mon), cost, currency(cost));
u.ugold -= cost; u.ugold -= cost;
mon->mgold += cost; mon->mgold += cost;
flags.botl = 1; flags.botl = 1;
@@ -2237,7 +2239,7 @@ register struct monst *mon;
if (!cost) verbalize("It's on the house!"); if (!cost) verbalize("It's on the house!");
else { else {
pline("%s takes %ld %s for services rendered!", pline("%s takes %ld %s for services rendered!",
Monnam(mon), cost, currency(cost)); noit_Monnam(mon), cost, currency(cost));
money2mon(mon, cost); money2mon(mon, cost);
flags.botl = 1; flags.botl = 1;
} }