mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-19 00:30:38 +01:00
parent
1349ff8dd8
commit
90425fde95
@ -23,9 +23,9 @@ local function set_wielder_formspec(data, meta)
|
||||
"item_image[0.5,0.5;1,1;"..data.name_base.."_off]"..
|
||||
"label[1.5,1;"..minetest.formspec_escape(data.description).."]"..
|
||||
list_background ..
|
||||
"list[current_name;"..minetest.formspec_escape(data.wield_inv_name)..";"..((10-data.wield_inv_width)*0.5)..",1;"..data.wield_inv_width..","..data.wield_inv_height..";]"..
|
||||
"list[context;"..minetest.formspec_escape(data.wield_inv_name)..";"..((10-data.wield_inv_width)*0.5)..",1;"..data.wield_inv_width..","..data.wield_inv_height..";]"..
|
||||
pipeworks.fs_helpers.get_inv((2+data.wield_inv_height)) ..
|
||||
"listring[context;main]" ..
|
||||
"listring[context;"..minetest.formspec_escape(data.wield_inv_name).."]" ..
|
||||
"listring[current_player;main]"
|
||||
)
|
||||
meta:set_string("infotext", data.description)
|
||||
|
Loading…
Reference in New Issue
Block a user