hero-created and monster-created ice will eventually melt away
extend Warning to include ice danger
wishing for particular variety of tin contents (deep fried, broiled, etc.)
+debug-mode wishing for random monster(s) via '*'
Platform- and/or Interface-Specific New Features
struct monst *mtmp;
boolean madeany = FALSE;
boolean maketame, makepeaceful, makehostile;
+ boolean randmonst = FALSE;
tries = 0;
do {
}
/* decide whether a valid monster was chosen */
if (strlen(bufp) == 1) {
+#ifdef WIZARD
+ if (wizard && *bufp == '*') {
+ randmonst = TRUE;
+ break;
+ }
+#endif
monclass = def_char_to_monclass(*bufp);
if (monclass != MAXMCLASSES) break; /* got one */
} else {
if (tries == 5) {
pline(thats_enough_tries);
} else {
- (void) cant_create(&which, FALSE);
- whichpm = &mons[which];
+ if (!randmonst) {
+ (void) cant_create(&which, FALSE);
+ whichpm = &mons[which];
+ }
for (i = 0; i <= multi; i++) {
+ if (randmonst)
+ whichpm = rndmonst();
if (monclass != MAXMCLASSES)
whichpm = mkclass(monclass, 0);
if (maketame) {