Make full use of formspec size
parent
536b76f46c
commit
8d47ead3c1
6
init.lua
6
init.lua
|
@ -198,7 +198,7 @@ doc.new_category("nodes", {
|
|||
if data.itemstring ~= "air" then
|
||||
formstring = formstring .. "item_image[11,0;1,1;"..data.itemstring.."]"
|
||||
end
|
||||
formstring = formstring .. "textarea[0.25,0.5;11,8;;"
|
||||
formstring = formstring .. "textarea[0.25,0.5;11,10;;"
|
||||
if longdesc ~= nil then
|
||||
formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n"
|
||||
end
|
||||
|
@ -543,7 +543,7 @@ doc.new_category("tools", {
|
|||
else
|
||||
formstring = formstring .. "item_image[11,0;1,1;"..data.itemstring.."]"
|
||||
end
|
||||
formstring = formstring .. "textarea[0.25,0.5;11,8;;"
|
||||
formstring = formstring .. "textarea[0.25,0.5;11,10;;"
|
||||
if longdesc ~= nil then
|
||||
formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n"
|
||||
end
|
||||
|
@ -598,7 +598,7 @@ doc.new_category("craftitems", {
|
|||
local longdesc = data.longdesc
|
||||
local usagehelp = data.usagehelp
|
||||
local formstring = "item_image[11,0;1,1;"..data.itemstring.."]"
|
||||
formstring = formstring .. "textarea[0.25,0.5;11,8;;"
|
||||
formstring = formstring .. "textarea[0.25,0.5;11,10;;"
|
||||
if longdesc ~= nil then
|
||||
formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue