summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-02-03 07:32:59 +0100
committerest31 <MTest31@outlook.com>2015-02-03 07:43:58 +0100
commitd452d16fa6a0364e0c8e171a4b333d6b85e0c519 (patch)
treefc49a07819a47d96abbaa631cfc1ce341a8b2fcb
parente08de57ec65162e9fe62ce8629a409f91b35f4b1 (diff)
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.
-rw-r--r--technic/textures/technic_form_bg.pngbin0 -> 6404 bytes
-rw-r--r--technic/textures/technic_main_inventory.pngbin0 -> 7646 bytes
-rw-r--r--technic_chests/register.lua4
3 files changed, 2 insertions, 2 deletions
diff --git a/technic/textures/technic_form_bg.png b/technic/textures/technic_form_bg.png
new file mode 100644
index 0000000..37683f0
--- /dev/null
+++ b/technic/textures/technic_form_bg.png
Binary files differ
diff --git a/technic/textures/technic_main_inventory.png b/technic/textures/technic_main_inventory.png
new file mode 100644
index 0000000..b65dabb
--- /dev/null
+++ b/technic/textures/technic_main_inventory.png
Binary files differ
diff --git a/technic_chests/register.lua b/technic_chests/register.lua
index 0344c2c..62d7529 100644
--- a/technic_chests/register.lua
+++ b/technic_chests/register.lua
@@ -197,9 +197,9 @@ function technic.chests:definition(name, data)
"label[0,0;"..S("%s Chest"):format(name).."]"..
"list[current_name;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)..";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.loleft..","..data.lotop..";8,4;ui_main_inventory.png]"
+ "background["..data.loleft..","..data.lotop..";8,4;technic_main_inventory.png]"
if data.sort then
data.base_formspec = data.base_formspec.."button["..data.hileft..","..(data.height+1.1)..";1,0.8;sort;"..S("Sort").."]"
end