mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-26 02:40:29 +01:00
Make technic chests independent from unified inventory
Copy the textures made by RealBadAngel (under WTFPL) from unified inventory to technic to avoid minetest not finding them when unified inventory is not installed.
This commit is contained in:
parent
e08de57ec6
commit
d452d16fa6
BIN
technic/textures/technic_form_bg.png
Normal file
BIN
technic/textures/technic_form_bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
BIN
technic/textures/technic_main_inventory.png
Normal file
BIN
technic/textures/technic_main_inventory.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.5 KiB |
@ -197,9 +197,9 @@ function technic.chests:definition(name, data)
|
|||||||
"label[0,0;"..S("%s Chest"):format(name).."]"..
|
"label[0,0;"..S("%s Chest"):format(name).."]"..
|
||||||
"list[current_name;main;"..data.hileft..",1;"..data.width..","..data.height..";]"..
|
"list[current_name;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)..";ui_form_bg.png]"..
|
"background[-0.19,-0.25;"..(data.ovwidth+0.4)..","..(data.ovheight+0.75)..";technic_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;ui_main_inventory.png]"
|
"background["..data.loleft..","..data.lotop..";8,4;technic_main_inventory.png]"
|
||||||
if data.sort then
|
if data.sort then
|
||||||
data.base_formspec = data.base_formspec.."button["..data.hileft..","..(data.height+1.1)..";1,0.8;sort;"..S("Sort").."]"
|
data.base_formspec = data.base_formspec.."button["..data.hileft..","..(data.height+1.1)..";1,0.8;sort;"..S("Sort").."]"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user