forked from mtcontrib/pipeworks
Merge branch 'master' into 'master'
Remove deprecated invsize See merge request VanessaE/pipeworks!40
This commit is contained in:
commit
01d44056a2
@ -7,7 +7,7 @@ end
|
|||||||
|
|
||||||
local function set_wielder_formspec(data, meta)
|
local function set_wielder_formspec(data, meta)
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
"invsize[8,"..(6+data.wield_inv_height)..";]"..
|
"size[8,"..(6+data.wield_inv_height)..";]"..
|
||||||
"item_image[0,0;1,1;"..data.name_base.."_off]"..
|
"item_image[0,0;1,1;"..data.name_base.."_off]"..
|
||||||
"label[1,0;"..minetest.formspec_escape(data.description).."]"..
|
"label[1,0;"..minetest.formspec_escape(data.description).."]"..
|
||||||
"list[current_name;"..minetest.formspec_escape(data.wield_inv_name)..";"..((8-data.wield_inv_width)*0.5)..",1;"..data.wield_inv_width..","..data.wield_inv_height..";]"..
|
"list[current_name;"..minetest.formspec_escape(data.wield_inv_name)..";"..((8-data.wield_inv_width)*0.5)..",1;"..data.wield_inv_width..","..data.wield_inv_height..";]"..
|
||||||
|
Loading…
Reference in New Issue
Block a user