Fix stash formspec.
parent
eefcae1774
commit
b2db9965fa
|
@ -79,15 +79,16 @@ function tasks.stash_formspec(pos, infotext)
|
|||
local spos = pos.x ..','.. pos.y ..','.. pos.z
|
||||
local formspec =
|
||||
'formspec_version[3]'..
|
||||
'size[10.25,7]'..
|
||||
'size[10.25,7.5]'..
|
||||
'listcolors[#00000069;#5a5a5a]'..
|
||||
'textarea[.5,1.5;9.75,2;;;Place items above to let people find them in this node. If their search is successful they will randomly get one of the items here. Blanks will give nothing.]'..
|
||||
'field[1,2.5;5,.5;infotext;Infotext;'..infotext..']'..
|
||||
'list[detached:creative_trash;main;9,2;1,1;]'..
|
||||
'image[9,2;1,1;creative_trash_icon.png]'..
|
||||
'field[1,3.0;5,.5;infotext;Infotext;'..infotext..']'..
|
||||
'list[detached:creative_trash;main;9,2.5;1,1;]'..
|
||||
'image[9,2.5;1,1;creative_trash_icon.png]'..
|
||||
'list[nodemeta:'..spos..';stash;.25,.25;8,1;]'..
|
||||
'list[detached:tasks_stash;main;.25,3.5;8,2;]'..
|
||||
'list[detached:tasks_stash;main;.25,4.0;8,2;]'..
|
||||
'listring[]'..
|
||||
'button_exit[4,6;2.25,.75;save;Submit]'
|
||||
'button_exit[4,6.5;2.25,.75;save;Submit]'
|
||||
return formspec
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue