diff --git a/basic_machines/consumer.lua b/basic_machines/consumer.lua index ff32904..0953017 100644 --- a/basic_machines/consumer.lua +++ b/basic_machines/consumer.lua @@ -77,10 +77,10 @@ local function prepare_tiles(tiles, stage, power_png) local tbl = {} for _,item in ipairs(tiles) do if type(item) == "string" then - tbl[#tbl+1] = item:gsub("#", stage):gsub("{power}", power_png) + tbl[#tbl+1] = item:gsub("#", stage):gsub("{power}", power_png):gsub("@@", '#') else local temp = table.copy(item) - temp.image = temp.image:gsub("#", stage):gsub("{power}", power_png) + temp.image = temp.image:gsub("#", stage):gsub("{power}", power_png):gsub("@@", '#') tbl[#tbl+1] = temp end end diff --git a/init.lua b/init.lua index 8a97ef1..42cbdb5 100644 --- a/init.lua +++ b/init.lua @@ -160,6 +160,7 @@ dofile(MP.."/basic_machines/quarry.lua") dofile(MP.."/basic_machines/ta4_chest.lua") dofile(MP.."/basic_machines/ta4_injector.lua") dofile(MP.."/basic_machines/itemsource.lua") +dofile(MP.."/basic_machines/recycler.lua") -- Liquids II dofile(MP.."/liquids/tank.lua")