From f5490e3b589dddbe401b16011da19554a5f37b9f Mon Sep 17 00:00:00 2001 From: Niklp <89982526+Niklp09@users.noreply.github.com> Date: Fri, 19 Aug 2022 14:53:39 +0200 Subject: [PATCH] overwrite wield_images's --- 3dmushrooms/init.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/3dmushrooms/init.lua b/3dmushrooms/init.lua index 3c8b76a..6df04f5 100644 --- a/3dmushrooms/init.lua +++ b/3dmushrooms/init.lua @@ -10,7 +10,8 @@ minetest.override_item("flowers:mushroom_fertile_brown", { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} }, - inventory_image = "3dmushrooms_brown_inv.png" + inventory_image = "3dmushrooms_brown_inv.png", + wield_image = "3dmushrooms_brown_inv.png" }) minetest.override_item("flowers:mushroom_brown", { @@ -21,7 +22,8 @@ minetest.override_item("flowers:mushroom_brown", { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} }, - inventory_image = "3dmushrooms_brown_inv.png" + inventory_image = "3dmushrooms_brown_inv.png", + wield_image = "3dmushrooms_brown_inv.png" }) minetest.override_item("flowers:mushroom_fertile_red", { @@ -32,7 +34,8 @@ minetest.override_item("flowers:mushroom_fertile_red", { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} }, - inventory_image = "3dmushrooms_red_inv.png" + inventory_image = "3dmushrooms_red_inv.png", + wield_image = "3dmushrooms_red_inv.png" }) minetest.override_item("flowers:mushroom_red", { @@ -43,7 +46,8 @@ minetest.override_item("flowers:mushroom_red", { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} }, - inventory_image = "3dmushrooms_red_inv.png" + inventory_image = "3dmushrooms_red_inv.png", + wield_image = "3dmushrooms_red_inv.png" }) -- aliases to the default mushrooms