This commit is contained in:
2026-06-24 01:40:50 +09:00
parent 07722ae290
commit 63e654bcec
12 changed files with 55 additions and 41 deletions
+10 -1
View File
@@ -90,6 +90,7 @@ if data.raw['valve'] then
name = v.name,
energy_required = 1,
enabled = true,
categories = {'crafting'},
icon = data.raw.item[v.name].icon,
icon_size = 64,
order = 'zc',
@@ -150,6 +151,7 @@ if data.raw['offshore-pump'] and data.raw['offshore-pump']['offshore-pump'] then
name = item.name,
energy_required = 2,
enabled = true,
categories = {'crafting'},
ingredients = {{type = 'item', name = 'electronic-circuit', amount = 2}, {type = 'item', name = 'pipe', amount = 1}, {type = 'item', name = 'iron-gear-wheel', amount = 1}},
results = {{type = 'item', name = item.name, amount = 1}},
main_product = item.name,
@@ -211,7 +213,7 @@ for _, v in pairs(data.raw.fluid) do
data:extend({{
type = 'recipe',
name = 'super-pump-' .. v.name,
category = 'super-pump-fluid',
categories = {'super-pump-fluid'},
energy_required = 1,
enabled = false,
ingredients = {},
@@ -373,6 +375,7 @@ if data.raw['container'] and data.raw['container']['steel-chest'] then
name = item.name,
energy_required = 2,
enabled = (data.raw.technology['steel-processing'] and false) or true,
categories = {'crafting'},
ingredients = {{type = 'item', name = 'steel-chest', amount = 1}},
results = {{type = 'item', name = item.name, amount = 1}},
main_product = item.name,
@@ -422,6 +425,7 @@ if data.raw['pipe'] and data.raw['pipe']['pipe'] then
name = item.name,
energy_required = 2,
enabled = (data.raw.technology['automation'] and false) or true,
categories = {'crafting'},
ingredients = {{type = 'item', name = 'iron-plate', amount = 1}},
results = {{type = 'item', name = item.name, amount = 1}},
main_product = item.name,
@@ -471,6 +475,7 @@ if data.raw['boiler'] and data.raw['boiler']['boiler'] then
name = item.name,
energy_required = 2,
enabled = true,
categories = {'crafting'},
ingredients = {{type = 'item', name = 'boiler', amount = 1}, {type = 'item', name = 'electronic-circuit', amount = 1}},
results = {{type = 'item', name = item.name, amount = 1}},
main_product = item.name,
@@ -610,6 +615,7 @@ if data.raw['reactor'] and data.raw['reactor']['heating-tower'] then
name = item.name,
energy_required = 2,
enabled = false,
categories = {'crafting'},
ingredients = {{type = 'item', name = 'heating-tower', amount = 1}, {type = 'item', name = 'electronic-circuit', amount = 1}},
results = {{type = 'item', name = item.name, amount = 1}},
main_product = item.name,
@@ -639,6 +645,7 @@ if data.raw.item['depleted-uranium-fuel-cell'] and data.raw.item['nuclear-fuel']
name = 'empty-train-battery',
energy_required = 20,
enabled = true,
categories = {'crafting'},
icon = mod_graphic_location .. 'battery.png',
icon_size = 64,
subgroup = 'intermediate-product',
@@ -666,6 +673,7 @@ if data.raw.item['depleted-uranium-fuel-cell'] and data.raw.item['nuclear-fuel']
name = 'charged-train-battery',
energy_required = 30,
enabled = true,
categories = {'crafting'},
icon = mod_graphic_location .. 'battery.png',
icon_size = 64,
subgroup = 'intermediate-product',
@@ -716,6 +724,7 @@ if data.raw['container'] and data.raw['container']['steel-chest'] and data.raw['
name = item.name,
energy_required = 2,
enabled = (data.raw.technology['rocket-silo'] and false) or true,
categories = {'crafting'},
ingredients = {{type = 'item', name = 'steel-chest', amount = 1}},
results = {{type = 'item', name = item.name, amount = 1}},
main_product = item.name