mirror of
https://github.com/minetest-mods/crafting_bench.git
synced 2024-11-28 06:13:42 +01:00
Add listring
in formspec (#7)
This commit is contained in:
parent
64e7ee216b
commit
9dc6074987
6
init.lua
6
init.lua
@ -42,7 +42,11 @@ minetest.register_node("crafting_bench:workbench",{
|
||||
'list[context;rec;4,1;3,3;]' ..
|
||||
'label[7.5,0;'..S('Craft Output')..']' ..
|
||||
'list[context;dst;8,1;1,4;]' ..
|
||||
'list[current_player;main;1,6;8,4;]' )
|
||||
'list[current_player;main;1,6;8,4;]' ..
|
||||
'listring[current_name;dst]'..
|
||||
'listring[current_player;main]'..
|
||||
'listring[current_name;src]'..
|
||||
'listring[current_player;main]')
|
||||
meta:set_string( 'infotext', S('Workbench'))
|
||||
local inv = meta:get_inventory()
|
||||
inv:set_size( 'src', 2 * 4 )
|
||||
|
Loading…
Reference in New Issue
Block a user