retouched the formspec of the filter and mese-filter
authorbas080 <bas080@hotmail.com>
Wed, 3 Apr 2013 10:16:33 +0000 (12:16 +0200)
committerbas080 <bas080@hotmail.com>
Wed, 3 Apr 2013 10:16:33 +0000 (12:16 +0200)
item_transport.lua

index b277e2d9dd3d351025db4b46dc035ecaa1da5f01..3a9943b97e61736957745b41a3b0ff132ceaa439 100644 (file)
@@ -18,9 +18,9 @@ minetest.register_node("pipeworks:filter", {
        on_construct = function(pos)
                local meta = minetest.env:get_meta(pos)
                meta:set_string("formspec",
-                               "invsize[9,9;]"..
-                               "list[current_name;main;0,2;8,2;]"..
-                               "list[current_player;main;0,5;8,4;]")
+                               "invsize[8,6.5;]"..
+                               "list[current_name;main;0,0;8,2;]"..
+                               "list[current_player;main;0,2.5;8,4;]")
                meta:set_string("infotext", "Filter")
                local inv = meta:get_inventory()
                inv:set_size("main", 8*4)
@@ -113,9 +113,9 @@ minetest.register_node("pipeworks:mese_filter", {
        on_construct = function(pos)
                local meta = minetest.env:get_meta(pos)
                meta:set_string("formspec",
-                               "invsize[9,9;]"..
-                               "list[current_name;main;0,2;8,2;]"..
-                               "list[current_player;main;0,5;8,4;]")
+                               "invsize[8,6.5;]"..
+                               "list[current_name;main;0,0;8,2;]"..
+                               "list[current_player;main;0,2.5;8,4;]")
                meta:set_string("infotext", "Mese filter")
                local inv = meta:get_inventory()
                inv:set_size("main", 8*4)