/usr/share/crawl/dat/dlua/debug.lua is in crawl-common 2:0.17.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ------------------------------------------------------------------------------
-- debug.lua
-- Debugging functions to call from the wizard lua interpreter.
------------------------------------------------------------------------------
require('dlua/userbase.lua')
function debug_wrath()
debug.disable("death", true)
while crawl.kbhit() == 0 do
-- Remove non-near monsters if menv[] full.
debug.cull_monsters()
-- Dismiss adjacent monsters to make room for wrath sending in
-- more monsters.
debug.dismiss_adjacent()
-- Draw the wrath card
crawl.process_keys("&cwrath\r")
-- Redraw screen.
crawl.redraw_view()
crawl.redraw_stats()
end
crawl.flush_input()
debug.disable("death", false)
end
|