advanced-electronic-components is only added if either MDbobelectronics2 or ThemTharHills-Updated is active
This commit is contained in:
parent
8f09f25c61
commit
3f2c03d598
2 changed files with 25 additions and 23 deletions
|
|
@ -17,6 +17,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
|
||||||
|
if mods["MDbobelectronics2"] or mods["ThemTharHills-Updated"] then
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
|
|
@ -39,6 +40,7 @@ if mods["Krastorio2"] then
|
||||||
results = {{type="item", name="advanced-electronic-components", amount=2}},
|
results = {{type="item", name="advanced-electronic-components", amount=2}},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
if mods["248k-Redux"] then
|
if mods["248k-Redux"] then
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ if mods["bobassembly"] then
|
||||||
end
|
end
|
||||||
|
|
||||||
--electronics
|
--electronics
|
||||||
if (mods["MDbobelectronics2"] and mods["Krastorio2"]) or false then
|
if mods["MDbobelectronics2"] and mods["Krastorio2"] then
|
||||||
util.replace_ingredient("kr-electronic-components", "plastic-bar", "basic-electronic-components")
|
util.replace_ingredient("kr-electronic-components", "plastic-bar", "basic-electronic-components")
|
||||||
util.replace_ingredient("kr-electronic-components", mods["Krastorio2"] and "kr-glass" or "glass", "BOBMD-electronic-components")
|
util.replace_ingredient("kr-electronic-components", mods["Krastorio2"] and "kr-glass" or "glass", "BOBMD-electronic-components")
|
||||||
util.remove_ingredient("kr-electronic-components", "silicon-wafer")
|
util.remove_ingredient("kr-electronic-components", "silicon-wafer")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue