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:
Pasi Kallinen
2026-01-27 17:33:05 +02:00
parent e18f4b65a9
commit 060c3de8eb
5 changed files with 54 additions and 0 deletions

View File

@@ -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? */