From 24eca043d0012bb456b93d4de3d2a495f8813831 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 3 May 2015 15:13:45 -0400 Subject: allow form backgrounds for chests to be textured separately --- technic_chests/register.lua | 2 +- technic_chests/textures/technic_chest_form_bg.png | Bin 0 -> 6404 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 technic_chests/textures/technic_chest_form_bg.png diff --git a/technic_chests/register.lua b/technic_chests/register.lua index 30f879b..f1912f5 100644 --- a/technic_chests/register.lua +++ b/technic_chests/register.lua @@ -190,7 +190,7 @@ function technic.chests:definition(name, data) "label[0,0;"..S("%s Chest"):format(name).."]".. "list[context;main;"..data.hileft..",1;"..data.width..","..data.height..";]".. "list[current_player;main;"..data.loleft..","..data.lotop..";8,4;]".. - "background[-0.19,-0.25;"..(data.ovwidth+0.4)..","..(data.ovheight+0.75)..";technic_form_bg.png]".. + "background[-0.19,-0.25;"..(data.ovwidth+0.4)..","..(data.ovheight+0.75)..";technic_chest_form_bg.png]".. "background["..data.hileft..",1;"..data.width..","..data.height..";technic_"..lname.."_chest_inventory.png]".. "background["..data.loleft..","..data.lotop..";8,4;technic_main_inventory.png]" if data.sort then diff --git a/technic_chests/textures/technic_chest_form_bg.png b/technic_chests/textures/technic_chest_form_bg.png new file mode 100644 index 0000000..37683f0 Binary files /dev/null and b/technic_chests/textures/technic_chest_form_bg.png differ -- cgit v1.2.3