From 4703ca9ae6ca3c6d3f9458331ffd607eed12021b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 24 Oct 2018 18:22:48 +0200 Subject: [PATCH] Tweak inventory image of internal comparator items --- mods/ITEMS/REDSTONE/mcl_comparators/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ITEMS/REDSTONE/mcl_comparators/init.lua b/mods/ITEMS/REDSTONE/mcl_comparators/init.lua index c25793f3d..58097213a 100644 --- a/mods/ITEMS/REDSTONE/mcl_comparators/init.lua +++ b/mods/ITEMS/REDSTONE/mcl_comparators/init.lua @@ -287,9 +287,11 @@ for _, state in pairs{mesecon.state.on, mesecon.state.off} do local extra_desc = {} if mode == "sub" then table.insert(extra_desc, "Subtract") + nodedef.inventory_image = nil end if state == mesecon.state.on then table.insert(extra_desc, "Powered") + nodedef.inventory_image = nil end nodedef.description = nodedef.description.. " ("..table.concat(extra_desc, ", ")..")"