From 8ee0eb9fce82c42f38b7ff4fac3d0952a05b2289 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Mon, 8 Mar 2021 14:01:29 -0500 Subject: [PATCH] swap the craft type icon with its word (makes it look like it used to) --- register.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/register.lua b/register.lua index 3958eb5..7ea2b10 100644 --- a/register.lua +++ b/register.lua @@ -347,10 +347,10 @@ ui.register_page("craftguide", { ui.craft_type_defaults(craft.type, {}) if craft_type.icon then formspec[n] = string.format("image[%f,%f;%f,%f;%s]", - craftarrowx+0.1, crafty + 0.95, 1, 1, craft_type.icon) + craftarrowx+0.35, crafty, 0.5, 0.5, craft_type.icon) n = n + 1 end - formspec[n] = string.format("label[%f,%f;%s]", craftarrowx+0.15, crafty+0.2, F(craft_type.description)) + formspec[n] = string.format("label[%f,%f;%s]", craftarrowx + 0.15, crafty + 1.4, F(craft_type.description)) n = n + 1 local display_size = craft_type.dynamic_display_size