Add missing ingredient types + compatibility fixes
This commit is contained in:
parent
0915eefc4d
commit
abb6e0921f
3 changed files with 7 additions and 7 deletions
|
|
@ -217,9 +217,9 @@ end
|
|||
if data.raw.item["circuit-board"] then
|
||||
table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="circuit-board", amount=1})
|
||||
end
|
||||
local low_quality_advanced_circuit_results = {{name="advanced-circuit", amount=1, probability=0.75}}
|
||||
local low_quality_advanced_circuit_results = {{ type = "item", name = "advanced-circuit", amount=1, probability=0.75}}
|
||||
if mods["space-exploration"] then
|
||||
table.insert(low_quality_advanced_circuit_results, {name="se-scrap", amount=1, probability=0.25})
|
||||
table.insert(low_quality_advanced_circuit_results, { type = "item", name = "se-scrap", amount=1, probability=0.25})
|
||||
end
|
||||
|
||||
data:extend({
|
||||
|
|
|
|||
|
|
@ -39,6 +39,6 @@ if mods["space-exploration"] then
|
|||
|
||||
if mods["248k-Redux"] then
|
||||
util.replace_ingredient("se-canister", "plastic-bar", "fi_materials_GFK", 5)
|
||||
util.remove_ingredient("se-canister", "glass")
|
||||
util.remove_ingredient("se-canister", mods["Krastorio2"] and "kr-glass" or "glass")
|
||||
end
|
||||
end
|
||||
|
|
@ -149,7 +149,7 @@ end
|
|||
--electronics
|
||||
if (mods["MDbobelectronics2"] and mods["Krastorio2"]) or false then
|
||||
util.replace_ingredient("kr-electronic-components", "plastic-bar", "basic-electronic-components")
|
||||
util.replace_ingredient("kr-electronic-components", "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("processing-unit", "cpu")
|
||||
|
|
@ -182,7 +182,7 @@ if mods["Krastorio2"] then
|
|||
end
|
||||
end
|
||||
--make the greenhouse upgradeable to bio lab
|
||||
util.remove_ingredient("kr-bio-lab", "glass")
|
||||
util.remove_ingredient("kr-bio-lab", "kr-glass")
|
||||
util.remove_ingredient("kr-bio-lab", "kr-iron-beam")
|
||||
util.add_ingredient("kr-bio-lab", "kr-greenhouse", 1)
|
||||
|
||||
|
|
@ -228,7 +228,7 @@ if mods["space-exploration"] then
|
|||
|
||||
if mods["248k-Redux"] then
|
||||
util.replace_ingredient("se-canister", "plastic-bar", "fi_materials_GFK", 5)
|
||||
util.remove_ingredient("se-canister", "glass")
|
||||
util.remove_ingredient("se-canister", mods["Krastorio2"] and "kr-glass" or "glass")
|
||||
|
||||
util.add_ingredient("effectivity-module-2", "el_lithium_battery", 10)
|
||||
end
|
||||
|
|
@ -236,5 +236,5 @@ end
|
|||
|
||||
if mods["BrassTacks-Updated"] then
|
||||
util.set_main_product("zinc-plate", "zinc-plate")
|
||||
util.add_product("zinc-plate", {name="silver-ore", amount=1, probability=0.06})
|
||||
util.add_product("zinc-plate", {type = "item", name="silver-ore", amount=1, probability=0.06})
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue