summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-01-29 20:13:44 +0100
committerTim <t4im@users.noreply.github.com>2015-01-29 20:32:10 +0100
commitd15d27391baa23b2d2d7ae09fab8fcb76b847da2 (patch)
treef8320970b224843861b2a557ed13b4f1f9676e3d
parentfcba05fd780584e08eea1f2c6f6e341da7569af4 (diff)
downloadpipeworks-d15d27391baa23b2d2d7ae09fab8fcb76b847da2.tar
pipeworks-d15d27391baa23b2d2d7ae09fab8fcb76b847da2.tar.gz
pipeworks-d15d27391baa23b2d2d7ae09fab8fcb76b847da2.tar.bz2
pipeworks-d15d27391baa23b2d2d7ae09fab8fcb76b847da2.tar.xz
pipeworks-d15d27391baa23b2d2d7ae09fab8fcb76b847da2.zip
style trashcan formspec
-rw-r--r--trashcan.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/trashcan.lua b/trashcan.lua
index 6372dbe..0051aeb 100644
--- a/trashcan.lua
+++ b/trashcan.lua
@@ -24,6 +24,10 @@ minetest.register_node("pipeworks:trashcan", {
"item_image[0,0;1,1;pipeworks:trashcan]"..
"label[1,0;Trash Can]"..
"list[context;trash;3.5,1;1,1;]"..
+ default.gui_bg..
+ default.gui_bg_img..
+ default.gui_slots..
+ default.get_hotbar_bg(0,3) ..
"list[current_player;main;0,3;8,4;]")
meta:set_string("infotext", "Trash Can")
meta:get_inventory():set_size("trash", 1)