Realign fuel, source and fire in furnace formspec

This commit is contained in:
CloudyProton 2017-12-07 15:52:40 -05:00 committed by GitHub
parent 2f420ef71a
commit aaff43be13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,10 +86,10 @@ end
function locks.get_furnace_active_formspec(pos, percent) function locks.get_furnace_active_formspec(pos, percent)
local formspec = local formspec =
"size[8,9]".. "size[8,9]"..
"image[2,2;1,1;default_furnace_fire_bg.png^[lowpart:".. "image[2,1.5;1,1;default_furnace_fire_bg.png^[lowpart:"..
(100-percent)..":default_furnace_fire_fg.png]".. (100-percent)..":default_furnace_fire_fg.png]"..
"list[current_name;fuel;2,3;1,1;]".. "list[current_name;fuel;2,2.5;1,1;]"..
"list[current_name;src;2,1;1,1;]".. "list[current_name;src;2,0.5;1,1;]"..
"list[current_name;dst;5,1;2,2;]".. "list[current_name;dst;5,1;2,2;]"..
"list[current_player;main;0,5;8,4;]".. "list[current_player;main;0,5;8,4;]"..
"background[-0.5,-0.65;9,10.35;bg_shared_locked_furnace.jpg]".. "background[-0.5,-0.65;9,10.35;bg_shared_locked_furnace.jpg]"..
@ -101,9 +101,9 @@ end
locks.furnace_inactive_formspec = locks.furnace_inactive_formspec =
"size[8,9]".. "size[8,9]"..
"image[2,2;1,1;default_furnace_fire_bg.png]".. "image[2,1.5;1,1;default_furnace_fire_bg.png]"..
"list[current_name;fuel;2,3;1,1;]".. "list[current_name;fuel;2,2.5;1,1;]"..
"list[current_name;src;2,1;1,1;]".. "list[current_name;src;2,0.5;1,1;]"..
"list[current_name;dst;5,1;2,2;]".. "list[current_name;dst;5,1;2,2;]"..
"list[current_player;main;0,5;8,4;]".. "list[current_player;main;0,5;8,4;]"..
"background[-0.5,-0.65;9,10.35;bg_shared_locked_furnace.jpg]".. "background[-0.5,-0.65;9,10.35;bg_shared_locked_furnace.jpg]"..