From dab6b6af8d7849286cefa108d08216ada71ea3f9 Mon Sep 17 00:00:00 2001
From: ShadowNinja <noreply@gmail.com>
Date: Thu, 03 Oct 2013 06:09:14 +0200
Subject: [PATCH] Move stargate to it's own repo

---
 technic_chests/mithril_chest.lua |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/technic_chests/mithril_chest.lua b/technic_chests/mithril_chest.lua
index d173ab9..892e48c 100644
--- a/technic_chests/mithril_chest.lua
+++ b/technic_chests/mithril_chest.lua
@@ -35,9 +35,13 @@
 	on_construct = function(pos)
 		local meta = minetest.env:get_meta(pos)
 		meta:set_string("formspec",
-				"invsize[13,9;]"..
-				"list[current_name;main;0,0;13,4;]"..
-				"list[current_player;main;0,5;8,4;]")
+				"invsize[13,10;]"..
+				"label[0,0;Mithril Chest]"..
+				"list[current_name;main;0,1;13,4;]"..
+				"list[current_player;main;0,6;8,4;]"..
+				"background[-0.19,-0.25;13.4,10.75;ui_form_bg.png]"..
+				"background[0,1;13,4;ui_mithril_chest_inventory.png]"..
+				"background[0,6;8,4;ui_main_inventory.png]")
 		meta:set_string("infotext", "Mithril Chest")
 		local inv = meta:get_inventory()
 		inv:set_size("main", 13*4)
@@ -84,9 +88,13 @@
 on_construct = function(pos)
 		local meta = minetest.env:get_meta(pos)
 		meta:set_string("formspec",
-				"invsize[13,9;]"..
-				"list[current_name;main;0,0;13,4;]"..
-				"list[current_player;main;0,5;8,4;]")
+				"invsize[13,10;]"..
+				"label[0,0;Mithril Locked Chest]"..
+				"list[current_name;main;0,1;13,4;]"..
+				"list[current_player;main;0,6;8,4;]"..
+				"background[-0.19,-0.25;13.4,10.75;ui_form_bg.png]"..
+				"background[0,1;13,4;ui_mithril_chest_inventory.png]"..
+				"background[0,6;8,4;ui_main_inventory.png]")
 		meta:set_string("infotext", "Mithril Locked Chest")
 		meta:set_string("owner", "")
 		local inv = meta:get_inventory()

--
Gitblit v1.8.0