summaryrefslogtreecommitdiff
path: root/register.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-08-05 08:37:25 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-08-05 08:37:25 -0400
commit2d6a0ed60689ada1e99970ad1091a1f4af0ab156 (patch)
tree3bdccd7a8bf6e3b4a48bda02af7a65c775b9bafe /register.lua
parentf2914b3d4fc31364d02cab190445f11ffdef5e3a (diff)
split ui_crafting_form
into craft grid/trash image and a single slot image. The latter is now used for a refill slot if user has creative priv or server is in creative mode.
Diffstat (limited to 'register.lua')
-rw-r--r--register.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/register.lua b/register.lua
index a1ce6d4..ff18d30 100644
--- a/register.lua
+++ b/register.lua
@@ -136,7 +136,7 @@ unified_inventory.register_button("clear_inv", {
unified_inventory.register_page("craft", {
get_formspec = function(player, formspec)
local player_name = player:get_player_name()
- local formspec = "background[0,"..unified_inventory.formspec_y..";8,3;ui_crafting_form.png]"
+ local formspec = "background[2,"..unified_inventory.formspec_y..";6,3;ui_crafting_form.png]"
formspec = formspec.."background[0,"..(unified_inventory.formspec_y + 3.5)..";8,4;ui_main_inventory.png]"
formspec = formspec.."label[0,"..unified_inventory.form_header_y..";Crafting]"
formspec = formspec.."listcolors[#00000000;#00000000]"