summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-01-28 01:36:13 +0100
committerTim <t4im@users.noreply.github.com>2015-01-28 01:36:13 +0100
commit5fa3e1f626c029694891433c3f7178fc96edcaa0 (patch)
tree4da2d92ec646471ff90c32bbd09e6210f30f5707
parent3a46c1266a74408c3f5f7ba2548d3dbc92162842 (diff)
downloadpipeworks-5fa3e1f626c029694891433c3f7178fc96edcaa0.tar
pipeworks-5fa3e1f626c029694891433c3f7178fc96edcaa0.tar.gz
pipeworks-5fa3e1f626c029694891433c3f7178fc96edcaa0.tar.bz2
pipeworks-5fa3e1f626c029694891433c3f7178fc96edcaa0.tar.xz
pipeworks-5fa3e1f626c029694891433c3f7178fc96edcaa0.zip
use the default background colors and hotbar image for the autocrafter formspec
-rw-r--r--autocrafter.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/autocrafter.lua b/autocrafter.lua
index 423eea4..4a898f5 100644
--- a/autocrafter.lua
+++ b/autocrafter.lua
@@ -149,6 +149,10 @@ local function set_formspec(meta, enabled)
"image_button[3,2;1,1;pipeworks_button_" .. state .. ".png;" .. state .. ";;;false;pipeworks_button_interm.png]" ..
"list[context;src;0,3.5;8,3;]"..
"list[context;dst;4,0;4,3;]"..
+ default.gui_bg..
+ default.gui_bg_img..
+ default.gui_slots..
+ default.get_hotbar_bg(0,7) ..
"list[current_player;main;0,7;8,4;]")
end