mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-13 05:08:44 +09:00
.
This commit is contained in:
@@ -114,28 +114,6 @@ if data.raw['electric-energy-interface']['electric-energy-interface'] then
|
||||
end
|
||||
end
|
||||
|
||||
-- CT A 8 BASE RECIPE
|
||||
-- CT A 14 SPACE_AGE RECIPE
|
||||
for _, v in pairs(data.raw.fluid) do
|
||||
if (not data.raw.recipe['pump-' .. v.name]) and v.subgroup == 'fluid' then
|
||||
data:extend({{
|
||||
type = 'recipe',
|
||||
name = 'super-pump-' .. v.name,
|
||||
category = 'super-pump-fluid',
|
||||
energy_required = 1,
|
||||
enabled = false,
|
||||
ingredients = {},
|
||||
results = {{type = 'fluid', name = v.name, amount = 1200 * settings.startup['PHI-MI-PIPE'].value, temperature = v.default_temperature}},
|
||||
main_product = v.name,
|
||||
hide_from_player_crafting = true,
|
||||
hidden_in_factoriopedia = true,
|
||||
allow_productivity = false,
|
||||
crafting_machine_tint = {primary = v.flow_color},
|
||||
localised_name = {'fluid-name.' .. v.name}
|
||||
}})
|
||||
end
|
||||
end
|
||||
|
||||
-- CT A 1 BASE MAP_GEN_PRESET
|
||||
if settings.startup['PHI-CT-TILE'].value then
|
||||
data.raw['map-gen-presets']['default']['empty-world'] = {
|
||||
|
||||
+15
-8
@@ -123,23 +123,30 @@ if data.raw['offshore-pump']['offshore-pump'] then
|
||||
}})
|
||||
end
|
||||
|
||||
-- MIG A 1 BASE RECIPE
|
||||
if data.raw.fluid['water'] then
|
||||
-- MIG A 8 BASE RECIPE
|
||||
-- MIG A 14 SPACE_AGE RECIPE
|
||||
for _, v in pairs(data.raw.fluid) do
|
||||
if v.subgroup == 'fluid' then
|
||||
data:extend({{
|
||||
type = 'recipe',
|
||||
name = 'super-pump-water',
|
||||
name = 'super-pump-' .. v.name,
|
||||
category = 'super-pump-fluid',
|
||||
energy_required = 1,
|
||||
enabled = true,
|
||||
enabled = false,
|
||||
ingredients = {},
|
||||
results = {{type = 'fluid', name = 'water', amount = 1200 * settings.startup['PHI-MI-PIPE'].value, temperature = data.raw.fluid['water'].default_temperature}},
|
||||
main_product = 'water',
|
||||
results = {{type = 'fluid', name = v.name, amount = 1200 * settings.startup['PHI-MI-PIPE'].value, temperature = v.default_temperature}},
|
||||
main_product = v.name,
|
||||
hide_from_player_crafting = true,
|
||||
hidden_in_factoriopedia = true,
|
||||
allow_productivity = false,
|
||||
crafting_machine_tint = {primary = data.raw.fluid['water'].flow_color},
|
||||
localised_name = {'fluid-name.water'}
|
||||
crafting_machine_tint = {primary = v.flow_color},
|
||||
localised_name = {'fluid-name.' .. v.name}
|
||||
}})
|
||||
end
|
||||
end
|
||||
|
||||
if data.raw.fluid['water'] and data.raw.recipe['super-pump-water'] then
|
||||
data.raw.recipe['super-pump-water'].enabled = true
|
||||
end
|
||||
|
||||
for _, v in pairs(data.raw['inserter']) do
|
||||
|
||||
Reference in New Issue
Block a user