From 06a874b621168f2f839f9b6fecc40bf163edc3d9 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 28 Mar 2017 01:31:58 +0200 Subject: [PATCH] Less ugly inventory imgs for buttons --- mods/ITEMS/REDSTONE/mesecons_button/init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mods/ITEMS/REDSTONE/mesecons_button/init.lua b/mods/ITEMS/REDSTONE/mesecons_button/init.lua index c88e72fa..ca168eb6 100644 --- a/mods/ITEMS/REDSTONE/mesecons_button/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_button/init.lua @@ -35,6 +35,8 @@ minetest.register_node("mesecons_button:button_stone_off", { drawtype = "nodebox", tiles = {"default_stone.png"}, wield_image = "default_stone.png^[mask:mesecons_button_wield_mask.png", + -- FIXME: Use proper 3D inventory image + inventory_image = "default_stone.png^[mask:mesecons_button_wield_mask.png", wield_scale = { x=1, y=1, z=1}, paramtype = "light", paramtype2 = "wallmounted", @@ -65,6 +67,7 @@ minetest.register_node("mesecons_button:button_stone_on", { drawtype = "nodebox", tiles = {"default_stone.png"}, wield_image = "default_stone.png^[mask:mesecons_button_wield_mask.png", + inventory_image = "default_stone.png^[mask:mesecons_button_wield_mask.png", wield_scale = { x=1, y=1, z=0.5}, paramtype = "light", paramtype2 = "wallmounted", @@ -89,6 +92,7 @@ minetest.register_node("mesecons_button:button_wood_off", { drawtype = "nodebox", tiles = {"default_wood.png"}, wield_image = "default_wood.png^[mask:mesecons_button_wield_mask.png", + inventory_image = "default_wood.png^[mask:mesecons_button_wield_mask.png", wield_scale = { x=1, y=1, z=1}, paramtype = "light", paramtype2 = "wallmounted", @@ -119,6 +123,7 @@ minetest.register_node("mesecons_button:button_wood_on", { drawtype = "nodebox", tiles = {"default_wood.png"}, wield_image = "default_wood.png^[mask:mesecons_button_wield_mask.png", + inventory_image = "default_wood.png^[mask:mesecons_button_wield_mask.png", wield_scale = { x=1, y=1, z=0.5}, paramtype = "light", paramtype2 = "wallmounted",