diff --git a/PHI-MB/main.lua b/PHI-MB/main.lua index f549406..63a004c 100644 --- a/PHI-MB/main.lua +++ b/PHI-MB/main.lua @@ -1,20 +1,22 @@ local alpha_order = {'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm'} local graphics_location = '__PHI-MB__/graphics/' -local items = {'assembling-machine', 'electric-furnace', 'chemical-plant', 'oil-refinery'} +local items = {'assembling-machine', 'electric-furnace', 'chemical-plant', 'oil-refinery', 'centrifuge'} local item_min = { ['assembling-machine'] = 4, ['electric-furnace'] = 2, ['chemical-plant'] = 2, - ['oil-refinery'] = 2 + ['oil-refinery'] = 2, + ['centrifuge'] = 2 } local item_max = { ['assembling-machine'] = 5, ['electric-furnace'] = 3, ['chemical-plant'] = 3, - ['oil-refinery'] = 3 + ['oil-refinery'] = 3, + ['centrifuge'] = 3 } local recipe_list = { @@ -191,12 +193,13 @@ table.insert(data.raw.technology['compound-energy-1'].effects, {type='unlock-rec table.insert(data.raw.technology['compound-energy-1'].effects, {type='unlock-recipe', recipe='electric-furnace-2'}) table.insert(data.raw.technology['compound-energy-1'].effects, {type='unlock-recipe', recipe='chemical-plant-2'}) table.insert(data.raw.technology['compound-energy-1'].effects, {type='unlock-recipe', recipe='oil-refinery-2'}) +table.insert(data.raw.technology['compound-energy-1'].effects, {type='unlock-recipe', recipe='centrifuge-2'}) table.insert(data.raw.technology['compound-energy-2'].effects, {type='unlock-recipe', recipe='assembling-machine-5'}) 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'}) - +table.insert(data.raw.technology['compound-energy-2'].effects, {type='unlock-recipe', recipe='centrifuge-3'}) for i=1, #recipe_list, 1 do if data.raw.recipe[recipe_list[i]] ~= nil then