This file is indexed.

/usr/share/games/instead/stead/hideinv.lua is in instead-data 1.9.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
local attr = "hideinv"
if stead.api_version >= "1.6.3" then
	game.gui.hideinv = function(s)
		if stead.call_bool(stead.here(), 'hideinv') then
			return true
		end
	end
	attr = "noinv"
end
room = stead.inherit(room, function(v)
	v.entered = stead.hook(v.entered, function(f, s, ...)
		if stead.call_bool(s, attr) then
			me():disable_all();
		end
		return f(s, ...)
	end)
	v.left = stead.hook(v.left, function(f, s, ...)
		if stead.call_bool(s, attr) then
			me():enable_all();
		end
		return f(s, ...)
	end)
	return v
end)