From 038142c6f208565a92be2c3db7d9271a1eab70de Mon Sep 17 00:00:00 2001 From: jp Date: Thu, 26 Nov 2015 16:18:44 +0100 Subject: [PATCH] minor style --- enchanting.lua | 2 +- worktable.lua | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/enchanting.lua b/enchanting.lua index 42f6cac..97872ba 100644 --- a/enchanting.lua +++ b/enchanting.lua @@ -9,8 +9,8 @@ function enchanting.formspec(pos, tooltype) "background[0,0;9,9;ench_ui.png]".. "list[context;tool;0.9,2.9;1,1;]".. "list[context;mese;2,2.9;1,1;]".. - "image[2,2.9;1,1;mese_layout.png]".. "list[current_player;main;0.5,4.5;8,4;]".. + "image[2,2.9;1,1;mese_layout.png]".. "tooltip[sharp;Your sword kills faster]".. "tooltip[durable;Your tool lasts longer]".. "tooltip[fast;Your tool digs faster]".. diff --git a/worktable.lua b/worktable.lua index 9369413..4f743db 100644 --- a/worktable.lua +++ b/worktable.lua @@ -59,20 +59,21 @@ function worktable.construct(pos) local inv = meta:get_inventory() local formspec = "size[8,7;]"..xbg.. - "list[context;forms;4,0;4,3;]".. - "label[0.95,1.23;Cut]".. + "label[0.9,1.23;Cut]".. + "label[0.9,2.23;Repair]".. "box[-0.05,1;2.05,0.9;#555555]".. + "box[-0.05,2;2.05,0.9;#555555]".. "image[3,1;1,1;gui_furnace_arrow_bg.png^[transformR270]".. - "label[0.95,2.23;Repair]box[-0.05,2;2.05,0.9;#555555]".. "image[0,1;1,1;worktable_saw.png]".. "image[0,2;1,1;worktable_anvil.png]".. "image[3,2;1,1;hammer_layout.png]".. "list[context;input;2,1;1,1;]".. "list[context;tool;2,2;1,1;]".. "list[context;hammer;3,2;1,1;]".. + "list[context;forms;4,0;4,3;]".. + "list[current_player;main;0,3.25;8,4;]".. "button[0,0;2,1;craft;Crafting]".. - "button[2,0;2,1;storage;Storage]".. - "list[current_player;main;0,3.25;8,4;]" + "button[2,0;2,1;storage;Storage]" inv:set_size("forms", 4*3) inv:set_size("input", 1)