From f609d5779aa08696c1859e6cbf0e4414d1eccefa Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 20 Mar 2023 22:32:53 +0900 Subject: [PATCH] Update main.lua --- PHI-MB/main.lua | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/PHI-MB/main.lua b/PHI-MB/main.lua index 8d44be7..ea17f58 100644 --- a/PHI-MB/main.lua +++ b/PHI-MB/main.lua @@ -221,7 +221,7 @@ for i=1, #recipe_list, 1 do if data.raw.recipe[recipe_list[i]] ~= nil then for j=1, #recipe_multiplier, 1 do local item = table.deepcopy(data.raw.recipe[recipe_list[i]]) - item.enabled = false + item.enabled = true if (item.normal ~= nil) and (item.normal ~= false) then for k, v in pairs(item.normal.ingredients) do @@ -326,18 +326,6 @@ for i=1, #recipe_list, 1 do end end -for t=1, #data.raw.technology, 1 do - for k, _ in pairs(data.raw.technology[t].effects) do - if data.raw.technology[t].effects[k].type == 'unlock-recipe' then - if data.raw.recipe[data.raw.technology[t].effects[k].recipe] ~= nil then - for j=1, #recipe_multiplier, 1 do - table.insert(data.raw.technology[t].effects, {type='unlock-recipe', recipe= data.raw.technology[t].effects[k].recipe .. '-' .. j}) - end - end - end - end -end - data.raw.recipe['loader'].hidden = false data.raw.recipe['fast-loader'].hidden = false data.raw.recipe['express-loader'].hidden = false