Add Backgrounds for Formspecs

This commit is contained in:
C1ff 2015-01-27 15:02:48 -06:00
parent 5518c277f3
commit f3648c1a09
7 changed files with 6 additions and 6 deletions

View file

@ -76,7 +76,7 @@ creative_inventory.set_creative_formspec = function(player, start_i, pagenum)
"size[13,7.5]"..
--"image[6,0.6;1,2;player.png]"..
default.gui_bg..
default.gui_bg_img..
"image[-0.5,-0.5;17.5,11.25;default_inventory_bg.png]"..
default.gui_slots..
"list[current_player;main;5,3.5;8,1;]"..
"list[current_player;main;5,4.75;8,3;8]"..

View file

@ -7,7 +7,7 @@ local function active_formspec(fuel_percent, item_percent)
local formspec =
"size[8,8.5]"..
default.gui_bg..
default.gui_bg_img..
"image[-2,-0.5;15,11.25;default_furnace_bg.png]"..
default.gui_slots..
"list[current_name;src;2.75,0.5;1,1;]"..
"list[current_name;fuel;2.75,2.5;1,1;]"..
@ -25,7 +25,7 @@ end
local inactive_formspec =
"size[8,8.5]"..
default.gui_bg..
default.gui_bg_img..
"image[-2,-0.5;15,11.25;default_furnace_bg.png]"..
default.gui_slots..
"list[current_name;src;2.75,0.5;1,1;]"..
"list[current_name;fuel;2.75,2.5;1,1;]"..

View file

@ -23,7 +23,7 @@ end
default.gui_suvival_form = "size[8,8.5]"..
default.gui_bg..
default.gui_bg_img..
"image[-2,-0.5;15,11.25;default_inventory_bg.png]"..
default.gui_slots..
"list[current_player;main;0,4.25;8,1;]"..
"list[current_player;main;0,5.5;8,3;8]"..

View file

@ -1101,7 +1101,7 @@ minetest.register_node("default:torch", {
local chest_formspec =
"size[8,9]"..
default.gui_bg..
default.gui_bg_img..
"image[-2,0;15,11.25;default_chest_bg.png]"..
default.gui_slots..
"list[current_name;main;0,0.3;8,4;]"..
"list[current_player;main;0,4.85;8,1;]"..
@ -1113,7 +1113,7 @@ local function get_locked_chest_formspec(pos)
local formspec =
"size[8,9]"..
default.gui_bg..
default.gui_bg_img..
"image[-2,0;15,11.25;default_chest_bg.png]"..
default.gui_slots..
"list[nodemeta:".. spos .. ";main;0,0.3;8,4;]"..
"list[current_player;main;0,4.85;8,1;]"..

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB