bobelectronics
This commit is contained in:
parent
315c6bbe0b
commit
a82696be8d
2 changed files with 43 additions and 27 deletions
|
|
@ -17,7 +17,7 @@ data:extend({
|
|||
type = "recipe",
|
||||
name = "cpu",
|
||||
category = "crafting-with-fluid",
|
||||
order = "d[mainboard]",
|
||||
order = "d[cpu]",
|
||||
enabled = false,
|
||||
energy_required = 50,
|
||||
ingredients = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
local util = require("data-util");
|
||||
|
||||
|
||||
data:extend({
|
||||
if not mods.bobelectronics then
|
||||
data:extend({
|
||||
{
|
||||
type = "item",
|
||||
name = "mainboard",
|
||||
|
|
@ -21,10 +22,25 @@ data:extend({
|
|||
ingredients = {{"advanced-circuit", 10}, {"gold-ingot", 1}},
|
||||
results = {{"mainboard", 10}},
|
||||
},
|
||||
})
|
||||
if util.me.platinum() then
|
||||
})
|
||||
if util.me.platinum() then
|
||||
util.add_ingredient("mainboard", "temperature-sensor", 10, {"force", true})
|
||||
end
|
||||
if util.me.palladium() then
|
||||
end
|
||||
if util.me.palladium() then
|
||||
util.add_ingredient("mainboard", "mlcc", 10, {"force", true})
|
||||
end
|
||||
else
|
||||
util.remove_ingredient("superior-circuit-board", "copper-plate")
|
||||
util.remove_ingredient("superior-circuit-board", "tin-plate")
|
||||
util.remove_ingredient("superior-circuit-board", "fibreglass-board")
|
||||
util.remove_ingredient("superior-circuit-board", "ferric-chloride-solution")
|
||||
util.multiply_recipe("superior-circuit-board", 10)
|
||||
util.add_ingredient("superior-circuit-board", "advanced-circuit", 10)
|
||||
util.add_ingredient("superior-circuit-board", "gold-ingot", 1)
|
||||
if util.me.platinum() then
|
||||
util.add_ingredient("superior-circuit-board", "temperature-sensor", 10)
|
||||
end
|
||||
if util.me.palladium() then
|
||||
util.add_ingredient("superior-circuit-board", "mlcc", 10)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue