mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
Update main.lua
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user