Implement listrings
This commit is contained in:
parent
e52f69e89a
commit
bc58cc1d8c
@ -48,6 +48,8 @@ default.gui_suvival_form = "size[8,8.5]"..
|
|||||||
"label[6.75,0.9;"..minetest.formspec_escape(S("Output slot:")).."]"..
|
"label[6.75,0.9;"..minetest.formspec_escape(S("Output slot:")).."]"..
|
||||||
"list[current_player;craftpreview;6.75,1.5;1,1;]"..
|
"list[current_player;craftpreview;6.75,1.5;1,1;]"..
|
||||||
"image[5.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]"..
|
"image[5.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]"..
|
||||||
|
"listring[current_player;main]"..
|
||||||
|
"listring[current_player;craft]"..
|
||||||
default.get_hotbar_bg(0,4.25)
|
default.get_hotbar_bg(0,4.25)
|
||||||
|
|
||||||
-- Load files
|
-- Load files
|
||||||
|
@ -260,6 +260,8 @@ function default.chest_formspec()
|
|||||||
"label[0,4.35;"..minetest.formspec_escape(S("Player inventory:")).."]"..
|
"label[0,4.35;"..minetest.formspec_escape(S("Player inventory:")).."]"..
|
||||||
"list[current_player;main;0,4.85;8,1;]"..
|
"list[current_player;main;0,4.85;8,1;]"..
|
||||||
"list[current_player;main;0,6.08;8,3;8]"..
|
"list[current_player;main;0,6.08;8,3;8]"..
|
||||||
|
"listring[current_name;main]"..
|
||||||
|
"listring[current_player;main]"..
|
||||||
"label[0,9;"..default.gui_controls.."]"..
|
"label[0,9;"..default.gui_controls.."]"..
|
||||||
default.get_hotbar_bg(0,4.85)
|
default.get_hotbar_bg(0,4.85)
|
||||||
end
|
end
|
||||||
@ -321,6 +323,10 @@ function default.furnace_active(pos, percent, item_percent)
|
|||||||
"label[0,3.75;"..minetest.formspec_escape(S("Player inventory:")).."]"..
|
"label[0,3.75;"..minetest.formspec_escape(S("Player inventory:")).."]"..
|
||||||
"list[current_player;main;0,4.25;8,1;]"..
|
"list[current_player;main;0,4.25;8,1;]"..
|
||||||
"list[current_player;main;0,5.5;8,3;8]"..
|
"list[current_player;main;0,5.5;8,3;8]"..
|
||||||
|
"listring[current_name;dst]"..
|
||||||
|
"listring[current_player;main]"..
|
||||||
|
"listring[current_name;src]"..
|
||||||
|
"listring[current_player;main]"..
|
||||||
"label[0,8.4;"..default.gui_controls.."]"..
|
"label[0,8.4;"..default.gui_controls.."]"..
|
||||||
default.get_hotbar_bg(0,4.25)
|
default.get_hotbar_bg(0,4.25)
|
||||||
return formspec
|
return formspec
|
||||||
@ -361,6 +367,10 @@ default.furnace_inactive_formspec =
|
|||||||
"label[0,3.75;"..minetest.formspec_escape(S("Player inventory:")).."]"..
|
"label[0,3.75;"..minetest.formspec_escape(S("Player inventory:")).."]"..
|
||||||
"list[current_player;main;0,4.25;8,1;]"..
|
"list[current_player;main;0,4.25;8,1;]"..
|
||||||
"list[current_player;main;0,5.5;8,3;8]"..
|
"list[current_player;main;0,5.5;8,3;8]"..
|
||||||
|
"listring[current_name;dst]"..
|
||||||
|
"listring[current_player;main]"..
|
||||||
|
"listring[current_name;src]"..
|
||||||
|
"listring[current_player;main]"..
|
||||||
"label[0,8.4;"..default.gui_controls.."]"..
|
"label[0,8.4;"..default.gui_controls.."]"..
|
||||||
default.get_hotbar_bg(0,4.25)
|
default.get_hotbar_bg(0,4.25)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user