Formatting

This commit is contained in:
Simon Brodtmann 2025-10-22 20:29:27 +02:00
parent b0fce41381
commit 92b6c5e2c1

View file

@ -12,7 +12,7 @@ if mods["Krastorio2"] then
elseif mods["MDbobelectronics2"] then elseif mods["MDbobelectronics2"] then
electronic_ingredients = {{type="item", name="kr-electronic-components", amount=1}, {type="item", name="intergrated-electronics", amount=2}, {type="item", name="processing-electronics", amount=1}} electronic_ingredients = {{type="item", name="kr-electronic-components", amount=1}, {type="item", name="intergrated-electronics", amount=2}, {type="item", name="processing-electronics", amount=1}}
end end
data:extend({ data:extend({
{ {
type = "item", type = "item",
name = "advanced-electronic-components", name = "advanced-electronic-components",
@ -33,8 +33,8 @@ data:extend({
ingredients = electronic_ingredients, ingredients = electronic_ingredients,
results = {{type="item", name="advanced-electronic-components", amount=2}}, results = {{type="item", name="advanced-electronic-components", amount=2}},
} }
}) })
if mods["248k-Redux"] then if mods["248k-Redux"] then
data:extend({ data:extend({
{ {
type = "recipe", type = "recipe",
@ -53,9 +53,9 @@ if mods["248k-Redux"] then
} }
}) })
util.add_unlock("kr-imersium-processing", "charged-crystal-imersite-powder") util.add_unlock("kr-imersium-processing", "charged-crystal-imersite-powder")
end end
util.add_unlock("processing-unit", "advanced-electronic-components") util.add_unlock("processing-unit", "advanced-electronic-components")
end end
local turret_large_base_ingredients = {(data.raw.item["tantalum-titanium-beam"] and {type="item", name="tantalum-titanium-beam", amount=60}) or {type="item", name="steel-plate", amount=60}, {type="item", name="concrete", amount=60}} local turret_large_base_ingredients = {(data.raw.item["tantalum-titanium-beam"] and {type="item", name="tantalum-titanium-beam", amount=60}) or {type="item", name="steel-plate", amount=60}, {type="item", name="concrete", amount=60}}