From a1b215ca5c10d60e741fc43b58b0be6e3bae4d2e Mon Sep 17 00:00:00 2001 From: Brevven Date: Sat, 24 Dec 2022 01:11:05 -0800 Subject: [PATCH] rebalance advanced circuits --- changelog.txt | 2 ++ prototypes/pcb.lua | 8 +++----- recipe-updates.lua | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changelog.txt b/changelog.txt index 747083c..1a11d0b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -9,6 +9,8 @@ Date: 2022-12-24 - Early game salt: New setting to choose one or both of From water in fluid-enabled tier 1 assemblers (or tier 0 with AAI Industry) (default) A starting area salt patch, and more salt near starting area + - Rebalance advanced circuits, they require much lower quantities of raw materials. + There still may be future balance tweaks. - SE: Less salt in core mining - SE: thermofluid basic recipe requires salt Features: diff --git a/prototypes/pcb.lua b/prototypes/pcb.lua index 64a3af4..556e8f9 100644 --- a/prototypes/pcb.lua +++ b/prototypes/pcb.lua @@ -31,7 +31,7 @@ data:extend({ type = "recipe", name = "pcb-substrate", results = { - {"pcb-substrate", 6}, + {"pcb-substrate", 12}, }, ingredients = { {type="fluid", name="epoxy", amount=30}, @@ -45,7 +45,6 @@ data:extend({ util.add_unlock("advanced-electronics", "pcb-substrate") -- These updates should be in data phase util.replace_some_ingredient("pcb-substrate", "plastic-bar", 1, "silica", 3, {force=true}) -util.replace_some_ingredient("pcb-substrate", "plastic-bar", 1, "bakelite", 1, {force=true}) if (not mods.bobelectronics and not mods.MDbobelectronics) then data:extend({ @@ -57,12 +56,12 @@ data:extend({ }, ingredients = util.me.more() and { {"pcb-substrate", 2}, - {"copper-plate", 2}, + {"copper-plate", 1}, {"ferric-chloride", 1}, {type="fluid", name="water", amount=10}, } or { {"pcb-substrate", 2}, - {"copper-plate", 2}, + {"copper-plate", 1}, {type="fluid", name="hydrogen-chloride", amount=15} }, enabled = false, @@ -70,7 +69,6 @@ data:extend({ energy_required = 4, }, }) - util.add_unlock("advanced-electronics", "pcb") end diff --git a/recipe-updates.lua b/recipe-updates.lua index f71121c..e042660 100644 --- a/recipe-updates.lua +++ b/recipe-updates.lua @@ -15,7 +15,7 @@ else local amt = util.get_amount("advanced-circuit") util.add_ingredient("advanced-circuit", "pcb", amt) util.remove_ingredient("advanced-circuit", "plastic-bar") - util.set_ingredient("advanced-circuit", "copper-cable", amt*2) + util.set_ingredient("advanced-circuit", "copper-cable", amt) end local amt = util.get_amount("advanced-circuit") util.set_recipe_time("advanced-circuit", amt*2) -- more steps, so speed up final step