mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -358,6 +358,24 @@ local items = {
|
|||||||
},
|
},
|
||||||
['space-age'] = {
|
['space-age'] = {
|
||||||
['PHI-VP-MAIN'] = {
|
['PHI-VP-MAIN'] = {
|
||||||
|
['technology_reform'] = {
|
||||||
|
['stack-inserter'] = {
|
||||||
|
['prerequisites'] = {
|
||||||
|
'bulk-inserter',
|
||||||
|
'chemical-science-pack',
|
||||||
|
'processing-unit'
|
||||||
|
},
|
||||||
|
['units'] = {
|
||||||
|
count = 800,
|
||||||
|
time = 45,
|
||||||
|
ingredients = {
|
||||||
|
{'automation-science-pack', 1},
|
||||||
|
{'logistic-science-pack', 1},
|
||||||
|
{'chemical-science-pack', 1}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
['technology'] = {
|
['technology'] = {
|
||||||
['planet-discovery-vulcanus'] = true,
|
['planet-discovery-vulcanus'] = true,
|
||||||
['planet-discovery-gleba'] = true,
|
['planet-discovery-gleba'] = true,
|
||||||
|
|||||||
@@ -897,6 +897,12 @@ 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)}}
|
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
|
||||||
|
end
|
||||||
|
end
|
||||||
data.raw.technology['stack-inserter'].prerequisites = {'bulk-inserter', 'chemical-science-pack', 'processing-unit'}
|
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['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'].prerequisites = {'logistics-3', 'stack-inserter', 'processing-unit'}
|
||||||
|
|||||||
Reference in New Issue
Block a user