From 24eca043d0012bb456b93d4de3d2a495f8813831 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 3 May 2015 15:13:45 -0400 Subject: [PATCH] allow form backgrounds for chests to be textured separately --- technic_chests/register.lua | 2 +- .../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 0000000000000000000000000000000000000000..37683f053edbcd46d12c62ccaeee73dd4dbc11bc GIT binary patch literal 6404 zcmeAS@N?(olHy`uVBq!ia0y~yVC7|CV9w-V1Bxs(lz$JTI14-?iy0WWg+Z8+Vb&Z8 zpdfpRr>`sfT_$NpRR!PAd$uz$NG$eraSW-r_2#Z&-XRA8hl`#mfe(IvkI`mtY|?Ud zI^-@8H2b@jciiq7pR$+KTFdasGXu?G_>enurlnlJ8Y75vX4ks-iv?-VN~~sbfcSeh z{H?P${w&R#o+HBqS^inw=GzJ+=krBEr}Hy|2$WJ{`sZ~$o>T8vfXzt z8^1pWl4ghz<^>5h2#ivrK`@#MMl-@_Suk20j@AgHwc%)OI9eNy)`p|C;b?6*S{shm zhNHFNXl*!J8;;h7qqX7CuMN+Cdneo4DACdMfGv&r<-hNxk4#PeJqs4qu1YjsFj~-$ z7W6bN=y&}6{KCfH82-q)vc<;6skjY?h;(Er8Ynuc>Y@W}CQo9VmqxUoKxj7#M z3qGsrY->^kNuQaPp&