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

@@ -61,6 +61,7 @@ Set debugging flags.
| mongen | boolean | Do monsters generate
| hunger | boolean | Does hero's hunger-state increase
| overwrite_stairs | boolean | Allow special-file commands overwrite the stairs
| prevent_pline | boolean | Prevent messages going out to the UI
|===
Example: