stone to flesh historic statues

This commit is contained in:
nethack.allison
2002-08-07 10:47:53 +00:00
parent e5148d5d57
commit 57e1c11c54
2 changed files with 10 additions and 3 deletions

View File

@@ -404,6 +404,7 @@ int *fail_reason;
struct monst *mon = 0;
struct obj *item;
coord cc;
boolean historic = (Role_if(PM_ARCHEOLOGIST) && !flags.mon_moving && statue->spe);
if (statue->oxlth && statue->oattached == OATTACHED_MONST) {
cc.x = x, cc.y = y;
@@ -443,10 +444,14 @@ int *fail_reason;
/* mimic statue becomes seen mimic; other hiders won't be hidden */
if (mon->m_ap_type) seemimic(mon);
else mon->mundetected = FALSE;
if ((x == u.ux && y == u.uy) || cause == ANIMATE_SPELL)
if ((x == u.ux && y == u.uy) || cause == ANIMATE_SPELL) {
pline_The("statue %s!",
canspotmon(mon) ? "comes to life" : "disappears");
else if (cause == ANIMATE_SHATTER)
if (historic) {
You_feel("guilty that the historic statue is now gone.");
adjalign(-1);
}
} else if (cause == ANIMATE_SHATTER)
pline("Instead of shattering, the statue suddenly %s!",
canspotmon(mon) ? "comes to life" : "disappears");
else /* cause == ANIMATE_NORMAL */