]> git.lizzy.rs Git - xdecor.git/blobdiff - mailbox.lua
Add list rings to formspecs
[xdecor.git] / mailbox.lua
index 47bb26c7afe3ab9bb1f54c2abbe4267961b78d1e..94658cae0f40eb4cbacb56620c6c3d1993be7c8c 100644 (file)
@@ -106,6 +106,7 @@ function mailbox.formspec(pos, owner, num)
                        default.get_hotbar_bg(0.75,5.25)..
                        "label[0,0;Mailbox :]"..
                        "label[6,0;Last donators :]"..
+                       "box[6,0.72;3.3,3.5;#555555]"..
                        "tablecolumns[color;text;image,"..
                                "1="..img_col(def_stack1)..","..
                                "2="..img_col(def_stack2)..","..
@@ -114,10 +115,12 @@ function mailbox.formspec(pos, owner, num)
                                "5="..img_col(def_stack5)..","..
                                "6="..img_col(def_stack6)..","..
                                "7="..img_col(def_stack7)..";color;text]"..
-                       "tableoptions[background=#434343;highlight=#00000000;border=true]"..
+                       "tableoptions[background=#00000000;highlight=#00000000;border=false]"..
                        "table[6,0.75;3.3,4;givers;"..giver.."]"..
                        "list[nodemeta:"..spos..";mailbox;0,0.75;6,4;]"..
-                       "list[current_player;main;0.75,5.25;8,4;]"
+                       "list[current_player;main;0.75,5.25;8,4;]"..
+                       "listring[nodemeta:"..spos..";mailbox]"..
+                       "listring[current_player;main]"
        else
                return "size[8,5]"..xbg..
                        default.get_hotbar_bg(0,1.25)..