proc unit fixes
This commit is contained in:
parent
f354f65f00
commit
c0daeb0a6e
3 changed files with 13 additions and 19 deletions
|
|
@ -26,22 +26,6 @@ if not mods.bobelectronics then
|
|||
})
|
||||
|
||||
if mods["space-exploration"] then
|
||||
if mods.Krastorio2 then
|
||||
mbi = {{"se-holmium-cable", 4}, {"advanced-circuit", 10}, {"gold-ingot", 1}}
|
||||
mbo = {{"mainboard", 20}}
|
||||
else
|
||||
mbi = {{"se-holmium-cable", 2}, {"advanced-circuit", 10}, {"gold-ingot", 1}}
|
||||
mbo = {{"mainboard", 20}}
|
||||
end
|
||||
end
|
||||
|
||||
if mods["space-exploration"] then
|
||||
local mbo = {}
|
||||
if mods.Krastorio2 then
|
||||
mbo = {{"se-holmium-cable", 2}, {"advanced-circuit", 20}, {"gold-ingot", 1}}
|
||||
else
|
||||
mbo = {{"se-holmium-cable", 1}, {"advanced-circuit", 20}, {"gold-ingot", 1}}
|
||||
end
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
|
|
@ -54,7 +38,7 @@ if not mods.bobelectronics then
|
|||
order = "d[mainboard]",
|
||||
enabled = false,
|
||||
energy_required = 5,
|
||||
ingredients = mbo,
|
||||
ingredients = {{"se-holmium-cable", 2}, {"advanced-circuit", 20}, {"gold-ingot", 1}},
|
||||
results = {{"mainboard", 20}},
|
||||
},
|
||||
})
|
||||
|
|
@ -63,9 +47,15 @@ if not mods.bobelectronics then
|
|||
|
||||
if util.me.platinum() then
|
||||
util.add_ingredient("mainboard", "temperature-sensor", 10, {"force", true})
|
||||
util.add_ingredient("mainboard-holmium", "temperature-sensor", 10, {"force", true})
|
||||
end
|
||||
if util.me.palladium() then
|
||||
util.add_ingredient("mainboard", "mlcc", 10, {"force", true})
|
||||
util.add_ingredient("mainboard-holmium", "mlcc", 10, {"force", true})
|
||||
end
|
||||
if mods.Krastorio2 then
|
||||
util.add_ingredient("mainboard", "rare-metals", 20, {"force", true})
|
||||
util.add_ingredient("mainboard-holmium", "rare-metals", 20, {"force", true})
|
||||
end
|
||||
|
||||
else
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ util.remove_ingredient("processing-unit", "silicon-wafer")
|
|||
util.remove_ingredient("processing-unit", "sulfuric-acid")
|
||||
util.remove_ingredient("processing-unit", "electronic-circuit")
|
||||
util.remove_ingredient("processing-unit", "advanced-circuit")
|
||||
util.remove_ingredient("processing-unit", "rare-metals") -- k2
|
||||
util.add_ingredient("processing-unit", "cpu", 1)
|
||||
util.set_recipe_time("processing-unit", 4)
|
||||
util.set_recipe_time("processing-unit", 2)
|
||||
util.add_ingredient("processing-unit", "mainboard", 1)
|
||||
|
||||
|
||||
util.add_unlock("se-processing-unit-holmium", "cpu-holmium")
|
||||
util.add_unlock("se-processing-unit-holmium", "mainboard-holmium")
|
||||
util.remove_recipe_effect("se-processing-unit-holmium", "se-processing-unit-holmium")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue