mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-19 10:19:59 +09:00
..
This commit is contained in:
@@ -367,17 +367,34 @@ local items = {
|
|||||||
['artillery-shell'] = {
|
['artillery-shell'] = {
|
||||||
ingredients = {{type = 'item', name = 'explosive-cannon-shell', amount = 4}, {type = 'item', name = 'radar', amount = 1}, {type = 'item', name = 'explosives', amount = 8}}
|
ingredients = {{type = 'item', name = 'explosive-cannon-shell', amount = 4}, {type = 'item', name = 'radar', amount = 1}, {type = 'item', name = 'explosives', amount = 8}}
|
||||||
},
|
},
|
||||||
|
['express-transport-belt'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
|
},
|
||||||
|
['express-underground-belt'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
|
},
|
||||||
|
-- BASE 10
|
||||||
|
['express-splitter'] = {
|
||||||
|
category = 'crafting-with-fluid'
|
||||||
|
},
|
||||||
|
['transport-belt'] = {
|
||||||
|
category = 'crafting',
|
||||||
|
},
|
||||||
-- SPACE_AGE 0
|
-- SPACE_AGE 0
|
||||||
['big-mining-drill'] = {
|
['big-mining-drill'] = {
|
||||||
|
category = 'crafting',
|
||||||
ingredients = {{type = 'item', name = 'electric-mining-drill', amount = 1}, {type = 'item', name = 'steel-plate', amount = 10}, {type = 'item', name = 'electric-engine-unit', amount = 5}, {type = 'item', name = 'advanced-circuit', amount = 10}}
|
ingredients = {{type = 'item', name = 'electric-mining-drill', amount = 1}, {type = 'item', name = 'steel-plate', amount = 10}, {type = 'item', name = 'electric-engine-unit', amount = 5}, {type = 'item', name = 'advanced-circuit', amount = 10}}
|
||||||
},
|
},
|
||||||
['turbo-transport-belt'] = {
|
['turbo-transport-belt'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'steel-plate', amount = 5}, {type = 'item', name = 'express-transport-belt', amount = 1}, {type = 'fluid', name = 'lubricant', amount = 20}}
|
ingredients = {{type = 'item', name = 'steel-plate', amount = 5}, {type = 'item', name = 'express-transport-belt', amount = 1}, {type = 'fluid', name = 'lubricant', amount = 20}}
|
||||||
},
|
},
|
||||||
['turbo-underground-belt'] = {
|
['turbo-underground-belt'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'steel-plate', amount = 40}, {type = 'item', name = 'express-underground-belt', amount = 2}, {type = 'fluid', name = 'lubricant', amount = 40}}
|
ingredients = {{type = 'item', name = 'steel-plate', amount = 40}, {type = 'item', name = 'express-underground-belt', amount = 2}, {type = 'fluid', name = 'lubricant', amount = 40}}
|
||||||
},
|
},
|
||||||
['turbo-splitter'] = {
|
['turbo-splitter'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'steel-plate', amount = 5}, {type = 'item', name = 'processing-unit', amount = 5}, {type = 'item', name = 'express-splitter', amount = 1}, {type = 'fluid', name = 'lubricant', amount = 80}}
|
ingredients = {{type = 'item', name = 'steel-plate', amount = 5}, {type = 'item', name = 'processing-unit', amount = 5}, {type = 'item', name = 'express-splitter', amount = 1}, {type = 'fluid', name = 'lubricant', amount = 80}}
|
||||||
},
|
},
|
||||||
['toolbelt-equipment'] = {
|
['toolbelt-equipment'] = {
|
||||||
@@ -388,12 +405,15 @@ local items = {
|
|||||||
ingredients = {{type = 'item', name = 'battery-mk2-equipment', amount = 5}, {type = 'item', name = 'battery', amount = 20}}
|
ingredients = {{type = 'item', name = 'battery-mk2-equipment', amount = 5}, {type = 'item', name = 'battery', amount = 20}}
|
||||||
},
|
},
|
||||||
['tesla-ammo'] = {
|
['tesla-ammo'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'battery', amount = 1}, {type = 'item', name = 'plastic-bar', amount = 1}, {type = 'fluid', name = 'sulfuric-acid', amount = 10}}
|
ingredients = {{type = 'item', name = 'battery', amount = 1}, {type = 'item', name = 'plastic-bar', amount = 1}, {type = 'fluid', name = 'sulfuric-acid', amount = 10}}
|
||||||
},
|
},
|
||||||
['teslagun'] = {
|
['teslagun'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'steel-plate', amount = 10}, {type = 'item', name = 'processing-unit', amount = 10}, {type = 'item', name = 'plastic-bar', amount = 1}, {type = 'fluid', name = 'sulfuric-acid', amount = 100}}
|
ingredients = {{type = 'item', name = 'steel-plate', amount = 10}, {type = 'item', name = 'processing-unit', amount = 10}, {type = 'item', name = 'plastic-bar', amount = 1}, {type = 'fluid', name = 'sulfuric-acid', amount = 100}}
|
||||||
},
|
},
|
||||||
['tesla-turret'] = {
|
['tesla-turret'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'teslagun', amount = 1}, {type = 'item', name = 'steel-plate', amount = 10}, {type = 'item', name = 'processing-unit', amount = 10}, {type = 'fluid', name = 'sulfuric-acid', amount = 500}}
|
ingredients = {{type = 'item', name = 'teslagun', amount = 1}, {type = 'item', name = 'steel-plate', amount = 10}, {type = 'item', name = 'processing-unit', amount = 10}, {type = 'fluid', name = 'sulfuric-acid', amount = 500}}
|
||||||
},
|
},
|
||||||
['mech-armor'] = {
|
['mech-armor'] = {
|
||||||
@@ -401,22 +421,27 @@ local items = {
|
|||||||
},
|
},
|
||||||
-- SPACE_AGE 10
|
-- SPACE_AGE 10
|
||||||
['railgun'] = {
|
['railgun'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'steel-plate', amount = 10}, {type = 'item', name = 'processing-unit', amount = 10}, {type = 'item', name = 'battery', amount = 10}, {type = 'fluid', name = 'sulfuric-acid', amount = 10}}
|
ingredients = {{type = 'item', name = 'steel-plate', amount = 10}, {type = 'item', name = 'processing-unit', amount = 10}, {type = 'item', name = 'battery', amount = 10}, {type = 'fluid', name = 'sulfuric-acid', amount = 10}}
|
||||||
},
|
},
|
||||||
['railgun-turret'] = {
|
['railgun-turret'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'steel-plate', amount = 30}, {type = 'item', name = 'processing-unit', amount = 25}, {type = 'item', name = 'battery', amount = 25}, {type = 'fluid', name = 'sulfuric-acid', amount = 100}}
|
ingredients = {{type = 'item', name = 'steel-plate', amount = 30}, {type = 'item', name = 'processing-unit', amount = 25}, {type = 'item', name = 'battery', amount = 25}, {type = 'fluid', name = 'sulfuric-acid', amount = 100}}
|
||||||
},
|
},
|
||||||
['rocket-turret'] = {
|
['rocket-turret'] = {
|
||||||
ingredients = {{type = 'item', name = 'rocket-launcher', amount = 4}, {type = 'item', name = 'steel-plate', amount = 40}, {type = 'item', name = 'processing-unit', amount = 4}, {type = 'item', name = 'iron-gear-wheel', amount = 20}}
|
ingredients = {{type = 'item', name = 'rocket-launcher', amount = 4}, {type = 'item', name = 'steel-plate', amount = 40}, {type = 'item', name = 'processing-unit', amount = 4}, {type = 'item', name = 'iron-gear-wheel', amount = 20}}
|
||||||
},
|
},
|
||||||
['fusion-reactor'] = {
|
['fusion-reactor'] = {
|
||||||
|
category = 'crafting',
|
||||||
ingredients = {{type = 'item', name = 'nuclear-reactor', amount = 1}, {type = 'item', name = 'steel-plate', amount = 300}, {type = 'item', name = 'processing-unit', amount = 400}}
|
ingredients = {{type = 'item', name = 'nuclear-reactor', amount = 1}, {type = 'item', name = 'steel-plate', amount = 300}, {type = 'item', name = 'processing-unit', amount = 400}}
|
||||||
},
|
},
|
||||||
['fusion-generator'] = {
|
['fusion-generator'] = {
|
||||||
|
category = 'crafting',
|
||||||
ingredients = {{type = 'item', name = 'steam-turbine', amount = 1}, {type = 'item', name = 'steel-plate', amount = 200}, {type = 'item', name = 'processing-unit', amount = 200}}
|
ingredients = {{type = 'item', name = 'steam-turbine', amount = 1}, {type = 'item', name = 'steel-plate', amount = 200}, {type = 'item', name = 'processing-unit', amount = 200}}
|
||||||
},
|
},
|
||||||
-- SPACE_AGE 15
|
-- SPACE_AGE 15
|
||||||
['fusion-power-cell'] = {
|
['fusion-power-cell'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'steel-plate', amount = 20}, {type = 'fluid', name = 'petroleum-gas', amount = 200}},
|
ingredients = {{type = 'item', name = 'steel-plate', amount = 20}, {type = 'fluid', name = 'petroleum-gas', amount = 200}},
|
||||||
results = {{type = 'item', name = 'fusion-power-cell', amount = 4}}
|
results = {{type = 'item', name = 'fusion-power-cell', amount = 4}}
|
||||||
},
|
},
|
||||||
@@ -424,6 +449,7 @@ local items = {
|
|||||||
ingredients = {{type = 'item', name = 'fission-reactor-equipment', amount = 1}, {type = 'item', name = 'fusion-power-cell', amount = 10}, {type = 'item', name = 'steel-plate', amount = 350}, {type = 'item', name = 'processing-unit', amount = 275}}
|
ingredients = {{type = 'item', name = 'fission-reactor-equipment', amount = 1}, {type = 'item', name = 'fusion-power-cell', amount = 10}, {type = 'item', name = 'steel-plate', amount = 350}, {type = 'item', name = 'processing-unit', amount = 275}}
|
||||||
},
|
},
|
||||||
['fluoroketone'] = {
|
['fluoroketone'] = {
|
||||||
|
category = 'chemistry',
|
||||||
ingredients = {{type = 'fluid', name = 'light-oil', amount = 50}, {type = 'fluid', name = 'petroleum-gas', amount = 50}, {type = 'item', name = 'steel-plate', amount = 1}}
|
ingredients = {{type = 'fluid', name = 'light-oil', amount = 50}, {type = 'fluid', name = 'petroleum-gas', amount = 50}, {type = 'item', name = 'steel-plate', amount = 1}}
|
||||||
},
|
},
|
||||||
['agricultural-tower'] = {
|
['agricultural-tower'] = {
|
||||||
@@ -434,14 +460,22 @@ local items = {
|
|||||||
},
|
},
|
||||||
-- SPACE_AGE 20
|
-- SPACE_AGE 20
|
||||||
['cryogenic-plant'] = {
|
['cryogenic-plant'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'steel-plate', amount = 60}, {type = 'item', name = 'processing-unit', amount = 40}, {type = 'item', name = 'chemical-plant', amount = 1}, {type = 'item', name = 'refined-concrete', amount = 60}, {type = 'fluid', name = 'water', amount = 60}}
|
ingredients = {{type = 'item', name = 'steel-plate', amount = 60}, {type = 'item', name = 'processing-unit', amount = 40}, {type = 'item', name = 'chemical-plant', amount = 1}, {type = 'item', name = 'refined-concrete', amount = 60}, {type = 'fluid', name = 'water', amount = 60}}
|
||||||
},
|
},
|
||||||
['biolab'] = {
|
['biolab'] = {
|
||||||
ingredients = {{type = 'item', name = 'lab', amount = 1}, {type = 'item', name = 'refined-concrete', amount = 60}, {type = 'item', name = 'processing-unit', amount = 60}, {type = 'item', name = 'uranium-235', amount = 3}}
|
ingredients = {{type = 'item', name = 'lab', amount = 1}, {type = 'item', name = 'refined-concrete', amount = 60}, {type = 'item', name = 'processing-unit', amount = 60}, {type = 'item', name = 'uranium-235', amount = 3}}
|
||||||
},
|
},
|
||||||
['foundry'] = {
|
['foundry'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
ingredients = {{type = 'item', name = 'steel-plate', amount = 60}, {type = 'item', name = 'processing-unit', amount = 40}, {type = 'item', name = 'coal', amount = 60}, {type = 'item', name = 'refined-concrete', amount = 40}, {type = 'item', name = 'electric-furnace', amount = 1}, {type = 'fluid', name = 'lubricant', amount = 60}}
|
ingredients = {{type = 'item', name = 'steel-plate', amount = 60}, {type = 'item', name = 'processing-unit', amount = 40}, {type = 'item', name = 'coal', amount = 60}, {type = 'item', name = 'refined-concrete', amount = 40}, {type = 'item', name = 'electric-furnace', amount = 1}, {type = 'fluid', name = 'lubricant', amount = 60}}
|
||||||
}
|
},
|
||||||
|
['turbo-loader'] = {
|
||||||
|
category = 'crafting-with-fluid',
|
||||||
|
},
|
||||||
|
['fluoroketone-cooling'] = {
|
||||||
|
category = 'chemistry',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
['tips_and_tricks_item'] = {
|
['tips_and_tricks_item'] = {
|
||||||
'quality',
|
'quality',
|
||||||
|
|||||||
@@ -258,9 +258,6 @@ if data.raw['assembling-machine'] and data.raw['assembling-machine']['cryogenic-
|
|||||||
data.raw['assembling-machine']['cryogenic-plant'].energy_source.emissions_per_minute.pollution = 12
|
data.raw['assembling-machine']['cryogenic-plant'].energy_source.emissions_per_minute.pollution = 12
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 'electromagnetics'
|
|
||||||
-- 'metallurgy', 'pressing', 'crafting-with-fluid-or-metallurgy', 'metallurgy-or-assembling'
|
|
||||||
-- 'cryogenics', 'cryogenics-or-assembling'
|
|
||||||
-- GM-VP C 1 SPACE_AGE ENTITY
|
-- GM-VP C 1 SPACE_AGE ENTITY
|
||||||
if data.raw['lab'] and data.raw['lab']['biolab'] then
|
if data.raw['lab'] and data.raw['lab']['biolab'] then
|
||||||
data.raw['lab']['biolab'].science_pack_drain_rate_percent = 100
|
data.raw['lab']['biolab'].science_pack_drain_rate_percent = 100
|
||||||
@@ -369,10 +366,11 @@ for _, v in pairs(data.raw.recipe) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- GM-VP C 8 BASE RESEARCH
|
-- GM-VP C 12 BASE RECIPE
|
||||||
-- GM-VP C 23 SPACE_AGE RESEARCH
|
-- GM-VP C 25 SPACE_AGE RECIPE
|
||||||
for k, v in pairs(items['recipe_reform']) do
|
for k, v in pairs(items['recipe_reform']) do
|
||||||
if data.raw.recipe[k] then
|
if data.raw.recipe[k] then
|
||||||
|
data.raw.recipe[k].category = (v.category and v.category) or data.raw.recipe[k].category
|
||||||
data.raw.recipe[k].ingredients = (v.ingredients and v.ingredients) or data.raw.recipe[k].ingredients
|
data.raw.recipe[k].ingredients = (v.ingredients and v.ingredients) or data.raw.recipe[k].ingredients
|
||||||
data.raw.recipe[k].results = (v.results and v.results) or data.raw.recipe[k].results
|
data.raw.recipe[k].results = (v.results and v.results) or data.raw.recipe[k].results
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -453,6 +453,7 @@ for _, v in pairs({{'logistics', 'loader'}, {'logistics-2', 'fast-loader'}, {'lo
|
|||||||
if data.raw['loader'] and data.raw['loader'][v[2]] then
|
if data.raw['loader'] and data.raw['loader'][v[2]] then
|
||||||
if data.raw.technology[v[1]] then
|
if data.raw.technology[v[1]] then
|
||||||
table.insert(data.raw.technology[v[1]].effects, {type = 'unlock-recipe', recipe = v[2]})
|
table.insert(data.raw.technology[v[1]].effects, {type = 'unlock-recipe', recipe = v[2]})
|
||||||
|
|
||||||
else
|
else
|
||||||
data.raw.recipe[v[2]].enabled = true
|
data.raw.recipe[v[2]].enabled = true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user