This commit is contained in:
2026-04-28 13:51:15 +09:00
parent 8025110e7b
commit 72a8633726
2 changed files with 24 additions and 39 deletions
-22
View File
@@ -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'] = {
+24 -17
View File
@@ -123,23 +123,30 @@ if data.raw['offshore-pump']['offshore-pump'] then
}})
end
-- MIG A 1 BASE RECIPE
if data.raw.fluid['water'] then
data:extend({{
type = 'recipe',
name = 'super-pump-water',
category = 'super-pump-fluid',
energy_required = 1,
enabled = true,
ingredients = {},
results = {{type = 'fluid', name = 'water', amount = 1200 * settings.startup['PHI-MI-PIPE'].value, temperature = data.raw.fluid['water'].default_temperature}},
main_product = 'water',
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'}
}})
-- 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-' .. 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
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