From c919ebfa54a20cb1bc56b6df2e723fc8e0bbb673 Mon Sep 17 00:00:00 2001 From: PHIDIAS <10016767+PHIDIAS0303@users.noreply.github.com> Date: Fri, 17 Mar 2023 21:44:45 +0900 Subject: [PATCH] Update main.lua --- PHI-MB/main.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PHI-MB/main.lua b/PHI-MB/main.lua index d036627..3f95631 100644 --- a/PHI-MB/main.lua +++ b/PHI-MB/main.lua @@ -100,3 +100,9 @@ table.insert(data.raw['technology']['compound-energy-2'].effects, {type='unlock- table.insert(data.raw['technology']['compound-energy-2'].effects, {type='unlock-recipe',recipe='electric-furnace-3'}) table.insert(data.raw['technology']['compound-energy-2'].effects, {type='unlock-recipe',recipe='chemical-plant-3'}) table.insert(data.raw['technology']['compound-energy-2'].effects, {type='unlock-recipe',recipe='oil-refinery-3'}) + +for _, recipe in pairs(data.raw['recipe']) do + if recipe.category == 'oil-processing' then + recipe.energy_required = recipe.energy_required * 4 + end +end \ No newline at end of file