mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-27 04:51:06 +01:00
12 lines
235 B
Lua
12 lines
235 B
Lua
|
mcl_formspec = {}
|
||
|
|
||
|
function mcl_formspec.get_itemslot_bg(x, y, w, h)
|
||
|
local out = ""
|
||
|
for i = 0, w - 1, 1 do
|
||
|
for j = 0, h - 1, 1 do
|
||
|
out = out .."image["..x+i..","..y+j..";1,1;mcl_formspec_itemslot.png]"
|
||
|
end
|
||
|
end
|
||
|
return out
|
||
|
end
|