This repository has been archived on 2020-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
2019-04-01 00:00:22 +00:00
|
|
|
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
|
2019-06-28 17:18:53 +00:00
|
|
|
formspec = sparktech.add_inventory(10,5.4, formspec)
|
2019-04-01 00:00:22 +00:00
|
|
|
return formspec
|
|
|
|
end
|
|
|
|
end
|