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
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 -- CT A 1 BASE MAP_GEN_PRESET
if settings.startup['PHI-CT-TILE'].value then if settings.startup['PHI-CT-TILE'].value then
data.raw['map-gen-presets']['default']['empty-world'] = { 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 end
-- MIG A 1 BASE RECIPE -- MIG A 8 BASE RECIPE
if data.raw.fluid['water'] then -- MIG A 14 SPACE_AGE RECIPE
data:extend({{ for _, v in pairs(data.raw.fluid) do
type = 'recipe', if v.subgroup == 'fluid' then
name = 'super-pump-water', data:extend({{
category = 'super-pump-fluid', type = 'recipe',
energy_required = 1, name = 'super-pump-' .. v.name,
enabled = true, category = 'super-pump-fluid',
ingredients = {}, energy_required = 1,
results = {{type = 'fluid', name = 'water', amount = 1200 * settings.startup['PHI-MI-PIPE'].value, temperature = data.raw.fluid['water'].default_temperature}}, enabled = false,
main_product = 'water', ingredients = {},
hide_from_player_crafting = true, results = {{type = 'fluid', name = v.name, amount = 1200 * settings.startup['PHI-MI-PIPE'].value, temperature = v.default_temperature}},
hidden_in_factoriopedia = true, main_product = v.name,
allow_productivity = false, hide_from_player_crafting = true,
crafting_machine_tint = {primary = data.raw.fluid['water'].flow_color}, hidden_in_factoriopedia = true,
localised_name = {'fluid-name.water'} 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 end
for _, v in pairs(data.raw['inserter']) do for _, v in pairs(data.raw['inserter']) do