allow form backgrounds for chests to be textured separately

This commit is contained in:
Vanessa Ezekowitz 2015-05-03 15:13:45 -04:00
parent e393617fa1
commit 24eca043d0
2 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ function technic.chests:definition(name, data)
"label[0,0;"..S("%s Chest"):format(name).."]".. "label[0,0;"..S("%s Chest"):format(name).."]"..
"list[context;main;"..data.hileft..",1;"..data.width..","..data.height..";]".. "list[context;main;"..data.hileft..",1;"..data.width..","..data.height..";]"..
"list[current_player;main;"..data.loleft..","..data.lotop..";8,4;]".. "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.hileft..",1;"..data.width..","..data.height..";technic_"..lname.."_chest_inventory.png]"..
"background["..data.loleft..","..data.lotop..";8,4;technic_main_inventory.png]" "background["..data.loleft..","..data.lotop..";8,4;technic_main_inventory.png]"
if data.sort then if data.sort then

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB