mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-12 21:08:43 +09:00
.
This commit is contained in:
@@ -45,7 +45,8 @@ data.raw.recipe['selector-combinator'].ingredients = {{type = 'item', name = 'ad
|
|||||||
-- MIG A 1 BASE RECIPE_CATEGORY
|
-- MIG A 1 BASE RECIPE_CATEGORY
|
||||||
data:extend({{type='recipe-category', name='super-pump-fluid'}})
|
data:extend({{type='recipe-category', name='super-pump-fluid'}})
|
||||||
|
|
||||||
-- MIG C 2 BASE ENTITY
|
-- MIG C 3 BASE ENTITY,ITEM
|
||||||
|
-- MIG A 1 BASE RECIPE
|
||||||
for _, v in pairs(data.raw['valve']) do
|
for _, v in pairs(data.raw['valve']) do
|
||||||
v.hidden = false
|
v.hidden = false
|
||||||
data.raw.item[v.name].hidden = false
|
data.raw.item[v.name].hidden = false
|
||||||
@@ -68,6 +69,7 @@ for _, v in pairs(data.raw['valve']) do
|
|||||||
}})
|
}})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- MIG A 1 BASE ENTITY,ITEM,RECIPE
|
||||||
if data.raw['offshore-pump']['offshore-pump'] then
|
if data.raw['offshore-pump']['offshore-pump'] then
|
||||||
local item = table.deepcopy(data.raw['item']['offshore-pump'])
|
local item = table.deepcopy(data.raw['item']['offshore-pump'])
|
||||||
item.name = 'super-pump'
|
item.name = 'super-pump'
|
||||||
@@ -91,7 +93,7 @@ if data.raw['offshore-pump']['offshore-pump'] then
|
|||||||
entity.fluid_boxes = {{
|
entity.fluid_boxes = {{
|
||||||
production_type = 'output',
|
production_type = 'output',
|
||||||
pipe_covers = table.deepcopy(entity.fluid_box.pipe_covers),
|
pipe_covers = table.deepcopy(entity.fluid_box.pipe_covers),
|
||||||
volume = 100 * settings.startup['PHI-MI-PIPE'].value / 10,
|
volume = 10 * settings.startup['PHI-MI-PIPE'].value,
|
||||||
pipe_connections = {{
|
pipe_connections = {{
|
||||||
flow_direction = 'output',
|
flow_direction = 'output',
|
||||||
connection_category = (mods['space-age'] and {'default', 'fusion-plasma'}) or {'default'},
|
connection_category = (mods['space-age'] and {'default', 'fusion-plasma'}) or {'default'},
|
||||||
@@ -121,6 +123,7 @@ if data.raw['offshore-pump']['offshore-pump'] then
|
|||||||
}})
|
}})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- MIG A 1 BASE RECIPE
|
||||||
if data.raw.fluid['water'] then
|
if data.raw.fluid['water'] then
|
||||||
data:extend({{
|
data:extend({{
|
||||||
type = 'recipe',
|
type = 'recipe',
|
||||||
@@ -129,7 +132,7 @@ if data.raw.fluid['water'] then
|
|||||||
energy_required = 1,
|
energy_required = 1,
|
||||||
enabled = true,
|
enabled = true,
|
||||||
ingredients = {},
|
ingredients = {},
|
||||||
results = {{type = 'fluid', name = 'water', amount = 12000 * settings.startup['PHI-MI-PIPE'].value / 10, temperature = data.raw.fluid['water'].default_temperature}},
|
results = {{type = 'fluid', name = 'water', amount = 1200 * settings.startup['PHI-MI-PIPE'].value, temperature = data.raw.fluid['water'].default_temperature}},
|
||||||
main_product = 'water',
|
main_product = 'water',
|
||||||
hide_from_player_crafting = true,
|
hide_from_player_crafting = true,
|
||||||
hidden_in_factoriopedia = true,
|
hidden_in_factoriopedia = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user