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",
|
type = "recipe",
|
||||||
name = "cpu",
|
name = "cpu",
|
||||||
category = "crafting-with-fluid",
|
category = "crafting-with-fluid",
|
||||||
order = "d[mainboard]",
|
order = "d[cpu]",
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 50,
|
energy_required = 50,
|
||||||
ingredients = {
|
ingredients = {
|
||||||
|
|
|
||||||
|
|
@ -1,30 +1,46 @@
|
||||||
local util = require("data-util");
|
local util = require("data-util");
|
||||||
|
|
||||||
|
|
||||||
data:extend({
|
if not mods.bobelectronics then
|
||||||
{
|
data:extend({
|
||||||
type = "item",
|
{
|
||||||
name = "mainboard",
|
type = "item",
|
||||||
icon = "__bzgold__/graphics/icons/mainboard.png",
|
name = "mainboard",
|
||||||
icon_size = 128,
|
icon = "__bzgold__/graphics/icons/mainboard.png",
|
||||||
subgroup = "intermediate-product",
|
icon_size = 128,
|
||||||
order = "b[mainboard]",
|
subgroup = "intermediate-product",
|
||||||
stack_size = util.get_stack_size(200),
|
order = "b[mainboard]",
|
||||||
},
|
stack_size = util.get_stack_size(200),
|
||||||
{
|
},
|
||||||
type = "recipe",
|
{
|
||||||
name = "mainboard",
|
type = "recipe",
|
||||||
category = "crafting",
|
name = "mainboard",
|
||||||
order = "d[mainboard]",
|
category = "crafting",
|
||||||
enabled = false,
|
order = "d[mainboard]",
|
||||||
energy_required = 2.5,
|
enabled = false,
|
||||||
ingredients = {{"advanced-circuit", 10}, {"gold-ingot", 1}},
|
energy_required = 2.5,
|
||||||
results = {{"mainboard", 10}},
|
ingredients = {{"advanced-circuit", 10}, {"gold-ingot", 1}},
|
||||||
},
|
results = {{"mainboard", 10}},
|
||||||
})
|
},
|
||||||
if util.me.platinum() then
|
})
|
||||||
util.add_ingredient("mainboard", "temperature-sensor", 10, {"force", true})
|
if util.me.platinum() then
|
||||||
end
|
util.add_ingredient("mainboard", "temperature-sensor", 10, {"force", true})
|
||||||
if util.me.palladium() then
|
end
|
||||||
util.add_ingredient("mainboard", "mlcc", 10, {"force", true})
|
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
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue