diff options
author | RealBadAngel <mk@realbadangel.pl> | 2013-07-06 10:35:48 +0200 |
---|---|---|
committer | RealBadAngel <mk@realbadangel.pl> | 2013-07-06 10:35:48 +0200 |
commit | 3a3700537baa748e459258385d27bb79ab391546 (patch) | |
tree | 2538bee6f5e4fc6c3dd2c64953b949604bd7bfae /technic_chests/mithril_chest.lua | |
parent | b78b90d4223e01a5c8611105b125e91855bbf602 (diff) |
Merge changes made in technic_game
Diffstat (limited to 'technic_chests/mithril_chest.lua')
-rw-r--r-- | 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 @@ minetest.register_node(":technic:mithril_chest", { 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 @@ minetest.register_node(":technic:mithril_locked_chest", { 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() |