one does: the container is destroyed but its conters are engulfed
when breaking a wand of sleep hits the hero with the explosion, don't describe
that as "the sleep ray hits you"
+expose fuz tester to wizard-mode as #fuzzer extended command
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
Yes, Yes, No, No, NoAlias,
"load DECGraphics display symbols into symset")
#endif
- NHOPTB(debug_fuzzer, Advanced, 0, opt_in, set_wiznofuz,
- Off, Yes, No, No, NoAlias, &iflags.debug_fuzzer)
NHOPTB(debug_hunger, Advanced, 0, opt_in, set_wiznofuz,
Off, Yes, No, No, NoAlias, &iflags.debug_hunger)
NHOPTB(debug_mongen, Advanced, 0, opt_in, set_wiznofuz,
static int wiz_where(void);
static int wiz_detect(void);
static int wiz_panic(void);
+static int wiz_fuzzer(void);
static int wiz_polyself(void);
static int wiz_kill(void);
static int wiz_load_lua(void);
return ECMD_OK;
}
+/* #fuzzer command - fuztest the program */
+static int
+wiz_fuzzer(void)
+{
+ pline("The fuz tester will make NetHack execute random keypresses.");
+ pline("There is no conventional way out of this mode.");
+ if (paranoid_query(TRUE, "Do you want to start fuz testing?"))
+ iflags.debug_fuzzer = TRUE; /* Thoth, take the reins */
+ return ECMD_OK;
+}
+
/* #polyself command - change hero's form */
static int
wiz_polyself(void)
dofire, 0, NULL },
{ M('f'), "force", "force a lock",
doforce, AUTOCOMPLETE, NULL },
+ { '\0', "fuzzer", "start the fuz tester",
+ wiz_fuzzer, IFBURIED | WIZMODECMD | NOFUZZERCMD, NULL },
{ ';', "glance", "show what type of thing a map symbol corresponds to",
doquickwhatis, IFBURIED | GENERALCMD, NULL },
{ '?', "help", "give a help message",