From e97181b7e49cbce88e2805803d4cd3ba7a584d95 Mon Sep 17 00:00:00 2001 From: mrkubax10 Date: Sat, 18 Mar 2023 11:41:55 +0100 Subject: [PATCH] Use texture overlaying for machine textures --- machines.lua | 8 ++++---- .../industrialtest_electric_furnace_front.png | Bin 1028 -> 5334 bytes .../industrialtest_iron_furnace_front.png | Bin 1003 -> 5370 bytes 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/machines.lua b/machines.lua index 936aa83..b312a00 100644 --- a/machines.lua +++ b/machines.lua @@ -79,7 +79,7 @@ local definition={ "industrialtest_machine_block.png", "industrialtest_machine_block.png", "industrialtest_machine_block.png", - "industrialtest_iron_furnace_front.png", + "industrialtest_machine_block.png^industrialtest_iron_furnace_front.png", "industrialtest_machine_block.png" }, paramtype2="facedir", @@ -244,7 +244,7 @@ local function registerSimpleElectricItemProcessor(config) elseif industrialtest.mclAvailable then formspec={ "size[10.04,12]", - "label[0.25,0.25;"..S("Electric Furnace").."]", + "label[0.25,0.25;"..S(config.displayName).."]", "list[context;src;3.4,1.8;1,1]", mcl_formspec.get_itemslot_bg(3.4,1.8,1,1), "listring[context;src]", @@ -308,7 +308,7 @@ local function registerSimpleElectricItemProcessor(config) "industrialtest_machine_block.png", "industrialtest_machine_block.png", "industrialtest_machine_block.png", - "industrialtest_"..config.name.."_front.png", + "industrialtest_machine_block.png^industrialtest_"..config.name.."_front.png", "industrialtest_machine_block.png" }, paramtype2="facedir", @@ -521,7 +521,7 @@ definition={ "industrialtest_machine_block.png", "industrialtest_machine_block.png", "industrialtest_machine_block.png", - "industrialtest_iron_furnace_front.png", + "industrialtest_machine_block.png^industrialtest_iron_furnace_front.png", "industrialtest_machine_block.png" }, paramtype2="facedir", diff --git a/textures/industrialtest_electric_furnace_front.png b/textures/industrialtest_electric_furnace_front.png index bb49c1bee259483ae31f65e372643380f8bfd99b..a4705418f9e0a60f3171e96a250454339742909a 100644 GIT binary patch literal 5334 zcmeHKXIK;I77iA~hzd49aftyI1Vb9B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