From af75db86cc38062f0576f92b8f7be91a2181bad2 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Tue, 8 Dec 2020 01:57:54 +0100 Subject: [PATCH] New arrow texture --- init.lua | 9 ++++----- textures/craftguide_arrow.png | Bin 3244 -> 469 bytes 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index 0b7cf05..99810e1 100644 --- a/init.lua +++ b/init.lua @@ -938,7 +938,7 @@ local function get_output_fs(fs, rcp, shapeless, right, btn_size, _btn_size, spa icon = sprintf("craftguide_%s.png^[resize:16x16", icon) end - local pos_x = right + btn_size + 0.35 + local pos_x = right + btn_size + 0.42 local pos_y = spacing + 0.9 if sub(icon, 1, 18) == "craftguide_furnace" then @@ -954,10 +954,10 @@ local function get_output_fs(fs, rcp, shapeless, right, btn_size, _btn_size, spa end local arrow_X = right + 0.2 + (_btn_size or ITEM_BTN_SIZE) - local X = arrow_X + 1.1 + local X = arrow_X + 1.2 local Y = spacing + 1.4 - fs(fmt("image", arrow_X, Y + 0.2, 0.9, 0.7, PNG.arrow)) + fs(fmt("image", arrow_X, Y + 0.1, 1, 1, PNG.arrow)) if rcp.type == "fuel" then fs(fmt("animated_image", X, Y, ITEM_BTN_SIZE, ITEM_BTN_SIZE, PNG.fire_anim, 8, 180)) @@ -966,8 +966,7 @@ local function get_output_fs(fs, rcp, shapeless, right, btn_size, _btn_size, spa item = clean_name(item) local name = match(item, "%S*") - fs(fmt("image", - X, Y - 0.11, ITEM_BTN_SIZE * 1.2, ITEM_BTN_SIZE * 1.2, PNG.selected)) + fs(fmt("image", X, Y - 0.11, ITEM_BTN_SIZE * 1.2, ITEM_BTN_SIZE * 1.2, PNG.selected)) local _name = sprintf("_%s", name) diff --git a/textures/craftguide_arrow.png b/textures/craftguide_arrow.png index 5dae75895dcd3afa01cf2ab98f16b3d41bdd5b3d..df1bbdb4be285ca651ec29982267e61da0cc639c 100644 GIT binary patch literal 469 zcmeAS@N?(olHy`uVBq!ia0v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