/usr/share/crawl/dat/dlua/sanity.lua is in crawl-common 2:0.21.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 | -- Sanity checks that should be run just before the game starts.
local function assert_place_has_map(place)
assert(dgn.map_by_place(place), "No map found for " .. place)
end
local function sanity_checks()
local places = {
"Zot:$", "Snake:$", "Swamp:$", "Spider:$", "Slime:$", "Elf:$",
"Vaults:$", "Tomb:$", "Coc:$", "Tar:$", "Dis:$", "Geh:$"
}
for _, place in ipairs(places) do
assert_place_has_map(place)
end
end
sanity_checks()
|