]> git.lizzy.rs Git - xdecor.git/commitdiff
Enhanced hive formspec
authorkilbith <jeanpatrick.guerrero@gmail.com>
Sun, 27 Sep 2015 10:59:36 +0000 (12:59 +0200)
committerkilbith <jeanpatrick.guerrero@gmail.com>
Sun, 27 Sep 2015 10:59:36 +0000 (12:59 +0200)
hive.lua
textures/hive_layout.png [new file with mode: 0644]

index 3fb7d639ac90fcffc29232134fecf96b05a6b2eb..13a3b9531502e3753c2b4dc90aea541a1b9edd6d 100644 (file)
--- a/hive.lua
+++ b/hive.lua
@@ -6,7 +6,7 @@ function hive.construct(pos)
        local xbg = default.gui_bg..default.gui_bg_img..default.gui_slots
 
        local formspec = "size[8,5;]"..xbg..
-               "label[1.35,0;Bees are making honey\nwith pollen around...]image[6,0;1,1;xdecor_bee.png]list[current_name;honey;5,0;1,1;]list[current_player;main;0,1.35;8,4;]"
+               "label[1.35,0;Bees are making honey\nwith pollen around...]image[6,0;1,1;xdecor_bee.png]image[5,0;1,1;hive_layout.png]list[current_name;honey;5,0;1,1;]list[current_player;main;0,1.35;8,4;]"
 
        meta:set_string("formspec", formspec)
        meta:set_string("infotext", "Artificial Hive")
diff --git a/textures/hive_layout.png b/textures/hive_layout.png
new file mode 100644 (file)
index 0000000..9d7aeb0
Binary files /dev/null and b/textures/hive_layout.png differ