From 6a39ed5dd0bd067afe75f05c7e329ee07611385d Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 8 Jun 2017 20:59:34 +0200 Subject: [PATCH] Reposition crafting guide buttons --- mods/HUD/mcl_inventory/init.lua | 6 +++--- mods/ITEMS/mcl_crafting_table/init.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index d57764b9ca..ac16ba62a5 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -91,13 +91,13 @@ local function set_inventory(player, armor_change_only) "list[current_player;craft;4,1;2,2]".. "list[current_player;craftpreview;7,1.5;1,1;]".. -- crafting guide button - "image_button[8,0;1,1;craftguide_book.png;__mcl_craftguide;]".. + "image_button[3,1.5;1,1;craftguide_book.png;__mcl_craftguide;]".. "tooltip[__mcl_craftguide;Show crafting recipes]".. -- help button - "image_button[8,1;1,1;doc_button_icon_lores.png;__mcl_doc;]".. + "image_button[8,0;1,1;doc_button_icon_lores.png;__mcl_doc;]".. "tooltip[__mcl_doc;Help]".. -- achievements button - "image_button[8,2;1,1;mcl_achievements_button.png;__mcl_achievements;]".. + "image_button[8,1;1,1;mcl_achievements_button.png;__mcl_achievements;]".. "tooltip[__mcl_achievements;Achievements]".. -- for shortcuts "listring[current_player;main]".. diff --git a/mods/ITEMS/mcl_crafting_table/init.lua b/mods/ITEMS/mcl_crafting_table/init.lua index c9f6101d78..865e6f56dc 100644 --- a/mods/ITEMS/mcl_crafting_table/init.lua +++ b/mods/ITEMS/mcl_crafting_table/init.lua @@ -20,7 +20,7 @@ minetest.register_node("mcl_crafting_table:crafting_table", { "list[current_player;main;0,7.74;9,1;]".. "list[current_player;craft;1.75,0.5;3,3;]".. "list[current_player;craftpreview;6.1,1.5;1,1;]".. - "image_button[8,0;1,1;craftguide_book.png;__mcl_craftguide;]".. + "image_button[0.75,1.5;1,1;craftguide_book.png;__mcl_craftguide;]".. "tooltip[__mcl_craftguide;Show crafting recipes]".. "listring[current_player;main]".. "listring[current_player;craft]"