9 lines
369 B
Lua
9 lines
369 B
Lua
if default and default.chest then
|
|
function default.chest.get_chest_formspec(pos)
|
|
local position = pos.x .. "," .. pos.y .. "," .. pos.z
|
|
local formspec = "list[nodemeta:" .. position .. ";main;0,0;8,4;]" -- not sure what insane stuff chest does, but context;main can't be used here
|
|
formspec = sparktech.add_inventory(10,5.4, formspec)
|
|
return formspec
|
|
end
|
|
end
|