/usr/share/crawl/dat/dlua/init.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 | ------------------------------------------------------------------------------
-- init.lua
-- Common CLua initializtion.
------------------------------------------------------------------------------
-----
-- Set up echoing function for interpreter.
-----
function echoall(...)
util.foreach({...}, function(x)
crawl.mpr(tostring(x))
end)
end
__echo = echoall
-- A wrapper for the low-level sequence of commands needed to produce
-- message output.
function crawl.message(message, channel)
crawl.mpr(message, channel)
crawl.flush_prev_message()
crawl.delay(0)
end
|