diff options
author | RealBadAngel <maciej.kasatkin@yahoo.com> | 2014-01-27 12:15:25 +0100 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@yahoo.com> | 2014-01-27 12:15:25 +0100 |
commit | 3306676910b903abf9b9e844dbc1d7c293054979 (patch) | |
tree | cd9c030f7604b6440e9a4b7fb681a6c21f00fa2c /register.lua | |
parent | 34a52a4c0fa6cf9c060b8076202278de30d1004c (diff) |
Initial waypoints tab upload
Diffstat (limited to 'register.lua')
-rw-r--r-- | register.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/register.lua b/register.lua index 7725aaa..4f258a6 100644 --- a/register.lua +++ b/register.lua @@ -120,7 +120,8 @@ unified_inventory.register_page("craft", { local player_name = player:get_player_name() local formspec = "background[0,1;8,3;ui_crafting_form.png]" formspec = formspec.."background[0,4.5;8,4;ui_main_inventory.png]" - formspec = formspec.."label[0,0;Crafting]" + formspec = formspec.."image[0,0;1,1;ui_craft_icon.png]" + formspec = formspec.."label[1,0;Crafting]" formspec = formspec.."listcolors[#00000000;#00000000]" formspec = formspec.."list[current_player;craftpreview;6,1;1,1;]" formspec = formspec.."list[current_player;craft;2,1;3,3;]" @@ -139,14 +140,15 @@ unified_inventory.register_page("craftguide", { local player_name = player:get_player_name() local formspec = "background[0,1;8,3;ui_craftguide_form.png]" formspec = formspec.."background[0,4.5;8,4;ui_main_inventory.png]" - formspec = formspec.."label[0,0;Crafting Guide]" + formspec = formspec.."image[0,0;1,1;ui_craftguide_icon.png]" + formspec = formspec.."label[1,0;Crafting Guide]" formspec = formspec.."listcolors[#00000000;#00000000]" formspec = formspec.."list[detached:"..player_name.."craftrecipe;output;6,1;1,1;]" formspec = formspec.."label[6,3.35;Method:]" local item_name = unified_inventory.current_item[player_name] local craft = nil if item_name then - formspec = formspec.."textarea[0.3,0.6;10,1;;Result: "..item_name..";]" + formspec = formspec.."textarea[1.3,0.6;10,1;;Result: "..item_name..";]" local alternates = 0 local alternate = unified_inventory.alternate[player_name] local crafts = unified_inventory.crafts_table[item_name] |