Lua tests: code coverage for applying some items
Add a new debug flag prevent_pline, which prevents all messages from going out to the UI. This prevents the tests from stopping for -more-. Add rudimentary tests for applying whistles, camera, and stethoscope.
This commit is contained in:
@@ -293,6 +293,7 @@ struct instance_flags {
|
||||
boolean debug_overwrite_stairs; /* debug: allow overwriting stairs */
|
||||
boolean debug_mongen; /* debug: prevent monster generation */
|
||||
boolean debug_hunger; /* debug: prevent hunger */
|
||||
boolean debug_prevent_pline; /* debug: prevent pline going to UI */
|
||||
boolean mon_polycontrol; /* debug: control monster polymorphs */
|
||||
boolean mon_telecontrol; /* debug: control monster teleports */
|
||||
boolean in_dumplog; /* doing the dumplog right now? */
|
||||
|
||||
Reference in New Issue
Block a user