mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -360,20 +360,20 @@ local items = {
|
||||
['PHI-VP-MAIN'] = {
|
||||
['technology_reform'] = {
|
||||
['stack-inserter'] = {
|
||||
['prerequisites'] = {
|
||||
'bulk-inserter',
|
||||
'chemical-science-pack',
|
||||
'processing-unit'
|
||||
['prerequisites'] = {'bulk-inserter', 'chemical-science-pack', 'processing-unit'},
|
||||
['unit'] = {count = 800, time = 45, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}}}
|
||||
},
|
||||
['units'] = {
|
||||
count = 800,
|
||||
time = 45,
|
||||
ingredients = {
|
||||
{'automation-science-pack', 1},
|
||||
{'logistic-science-pack', 1},
|
||||
{'chemical-science-pack', 1}
|
||||
}
|
||||
}
|
||||
['transport-belt-capacity-1'] = {
|
||||
['prerequisites'] = {'stack-inserter', 'logistics-3', 'production-science-pack', 'utility-science-pack'},
|
||||
['unit'] = {count = 1600, time = 45, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}}
|
||||
},
|
||||
['transport-belt-capacity-2'] = {
|
||||
['prerequisites'] = {'transport-belt-capacity-1', 'space-science-pack'},
|
||||
['unit'] = {count = 2400, time = 60, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}}
|
||||
},
|
||||
['turbo-transport-belt'] = {
|
||||
['prerequisites'] = {'logistics-3', 'production-science-pack', 'utility-science-pack'},
|
||||
['unit'] = {count = 800, time = 45, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}}
|
||||
},
|
||||
},
|
||||
['technology'] = {
|
||||
|
||||
@@ -898,19 +898,9 @@ if settings.startup['PHI-VP'].value then
|
||||
data.raw.recipe['landfill'].ingredients = {{type = 'item', name = 'stone', amount = math.min(20, tonumber(settings.startup['PHI-MI-LANDFILL'].value) or 20)}}
|
||||
|
||||
for k, v in pairs(items['space-age']['PHI-VP-MAIN']['technology_reform']) do
|
||||
if data.raw.item[k] then
|
||||
data.raw.item[k].hidden = v
|
||||
data.raw.item[k].hidden_in_factoriopedia = v
|
||||
data.raw.technology[k].prerequisites = v.prerequisites
|
||||
data.raw.technology[k].unit = v.unit
|
||||
end
|
||||
end
|
||||
data.raw.technology['stack-inserter'].prerequisites = {'bulk-inserter', 'chemical-science-pack', 'processing-unit'}
|
||||
data.raw.technology['stack-inserter'].unit = {count = 800, time = 45, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}}}
|
||||
data.raw.technology['turbo-transport-belt'].prerequisites = {'logistics-3', 'stack-inserter', 'processing-unit'}
|
||||
data.raw.technology['turbo-transport-belt'].unit = {count = 800, time = 45, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}}
|
||||
data.raw.technology['transport-belt-capacity-1'].prerequisites = {'stack-inserter', 'production-science-pack', 'utility-science-pack'}
|
||||
data.raw.technology['transport-belt-capacity-1'].unit = {count = 1600, time = 45, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}}
|
||||
data.raw.technology['transport-belt-capacity-2'].prerequisites = {'transport-belt-capacity-1', 'space-science-pack'}
|
||||
data.raw.technology['transport-belt-capacity-2'].unit = {count = 2400, time = 60, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}}
|
||||
|
||||
data.raw.technology['cliff-explosives'].prerequisites = {'explosives', 'military-2'}
|
||||
data.raw.technology['cliff-explosives'].unit = {count = 200, time = 30, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}}}
|
||||
|
||||
Reference in New Issue
Block a user