less in circuits
This commit is contained in:
parent
6dedb869aa
commit
d750d7ada1
3 changed files with 16 additions and 3 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.5.5
|
||||||
|
Date: 2022-12-28
|
||||||
|
Changes:
|
||||||
|
- Less graphite needed for electronic circuits
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.5.4
|
Version: 0.5.4
|
||||||
Date: 2022-12-25
|
Date: 2022-12-25
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,17 @@ if mods.MDbobelectronics or mods.bobelectronics then
|
||||||
util.replace_ingredient("basic-electronic-components", "coal", "graphite")
|
util.replace_ingredient("basic-electronic-components", "coal", "graphite")
|
||||||
util.replace_ingredient("basic-electronic-components", "coke", "graphite")
|
util.replace_ingredient("basic-electronic-components", "coke", "graphite")
|
||||||
else
|
else
|
||||||
util.replace_some_ingredient("electronic-circuit", "copper-cable", 1, "graphite", 1)
|
amt_ec = util.get_amount("electronic-circuit")
|
||||||
|
if amt_ec == 1 then
|
||||||
|
util.multiply_recipe("electronic-circuit", 2)
|
||||||
|
end
|
||||||
|
util.replace_some_ingredient("electronic-circuit", "copper-cable", 2, "graphite", 1)
|
||||||
-- AAI alternate green circuit
|
-- AAI alternate green circuit
|
||||||
util.replace_some_ingredient("electronic-circuit-stone", "copper-cable", 1, "graphite", 1)
|
local amt_ec = util.get_amount("electronic-circuit-stone", "electronic-circuit")
|
||||||
|
if amt_ec == 1 then
|
||||||
|
util.multiply_recipe("electronic-circuit-stone", 2)
|
||||||
|
end
|
||||||
|
util.replace_some_ingredient("electronic-circuit-stone", "copper-cable", 2, "graphite", 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
if data.raw.recipe["low-density-structure"] and
|
if data.raw.recipe["low-density-structure"] and
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzcarbon",
|
"name": "bzcarbon",
|
||||||
"version": "0.5.4",
|
"version": "0.5.5",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Graphite & Diamonds",
|
"title": "Graphite & Diamonds",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue