followup menu asking to choose specific items)
eating 1 tin from stack of N (for N >= 2) on shop's floor forced hero to buy 2
using a cursed whistle in a vault will summon the guard immediately
+throne room's throne is occupied by a king
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
}
}
+void
+mk_zoo_thronemon(x,y)
+int x,y;
+{
+ int i = rnd(level_difficulty());
+ int pm = (i > 9) ? PM_OGRE_KING
+ : (i > 5) ? PM_ELVENKING
+ : (i > 2) ? PM_DWARF_KING
+ : PM_GNOME_KING;
+ struct monst *mon = makemon(&mons[pm], x, y, NO_MM_FLAGS);
+
+ if (mon) {
+ mon->msleeping = 1;
+ mon->mpeaceful = 0;
+ set_malign(mon);
+ /* Give him a sceptre to pound in judgment */
+ (void) mongets(mon, MACE);
+ }
+}
+
void
fill_zoo(sroom)
struct mkroom *sroom;
ty = mm.y;
} while (occupied((xchar) tx, (xchar) ty) && --i > 0);
throne_placed:
- /* TODO: try to ensure the enthroned monster is an M2_PRINCE */
+ mk_zoo_thronemon(tx, ty);
break;
case BEEHIVE:
tx = sroom->lx + (sroom->hx - sroom->lx + 1) / 2;