Merge pull request #5 from VanessaE/master

add background images for chests/furnaces
This commit is contained in:
Sokomine 2014-07-14 20:03:46 +02:00
commit 2ada3da742
4 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,7 @@ minetest.register_node("locks:shared_locked_chest", {
"list[current_name;main;0,0;8,4;]".. "list[current_name;main;0,0;8,4;]"..
"list[current_player;main;0,5;8,4;]".. "list[current_player;main;0,5;8,4;]"..
"field[0.3,9.6;6,0.7;locks_sent_lock_command;Locked chest. Type /help for help:;]".. "field[0.3,9.6;6,0.7;locks_sent_lock_command;Locked chest. Type /help for help:;]"..
"background[-0.5,-0.65;9,11.2;bg_chest.jpg]"..
"button_exit[6.3,9.2;1.7,0.7;locks_sent_input;Proceed]" ); "button_exit[6.3,9.2;1.7,0.7;locks_sent_input;Proceed]" );
-- "size[8,9]".. -- "size[8,9]"..
-- "list[current_name;main;0,0;8,4;]".. -- "list[current_name;main;0,0;8,4;]"..

View File

@ -92,6 +92,7 @@ function locks.get_furnace_active_formspec(pos, percent)
"list[current_name;src;2,1;1,1;]".. "list[current_name;src;2,1;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_furnace.jpg]"..
"field[0.3,4.5;6,0.7;locks_sent_lock_command;Locked furnace. Type /help for help:;]".. "field[0.3,4.5;6,0.7;locks_sent_lock_command;Locked furnace. Type /help for help:;]"..
"button_exit[6.3,4;1.7,0.7;locks_sent_input;Proceed]" ; "button_exit[6.3,4;1.7,0.7;locks_sent_input;Proceed]" ;
@ -105,6 +106,7 @@ locks.furnace_inactive_formspec =
"list[current_name;src;2,1;1,1;]".. "list[current_name;src;2,1;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_furnace.jpg]"..
"field[0.3,4.5;6,0.7;locks_sent_lock_command;Locked furnace. Type /help for help:;]".. "field[0.3,4.5;6,0.7;locks_sent_lock_command;Locked furnace. Type /help for help:;]"..
"button_exit[6.3,4;1.7,0.7;locks_sent_input;Proceed]" ; "button_exit[6.3,4;1.7,0.7;locks_sent_input;Proceed]" ;

BIN
textures/bg_chest.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
textures/bg_furnace.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB