deepcore balance
This commit is contained in:
parent
0353e0b702
commit
99cfd1d233
3 changed files with 24 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.3.3
|
||||||
|
Date: 2022-07-13
|
||||||
|
Changes:
|
||||||
|
- VTK Deep Core Ore Chunk refining and sorting outputs less diamond and more graphite.
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.3.2
|
Version: 0.3.2
|
||||||
Date: 2022-07-09
|
Date: 2022-07-09
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,24 @@ require("carbon-recipe-modules") -- Should be last import, need in both updates
|
||||||
|
|
||||||
local util = require("data-util");
|
local util = require("data-util");
|
||||||
|
|
||||||
|
if util.me.use_rough_diamond() then
|
||||||
|
local amt = 0
|
||||||
|
if data.raw.recipe["vtk-deepcore-mining-ore-chunk-refining"] then
|
||||||
|
for i, product in pairs(data.raw.recipe["vtk-deepcore-mining-ore-chunk-refining"].results) do
|
||||||
|
if product.name == "vtk-deepcore-mining-rough-diamond-chunk" then
|
||||||
|
amt = product.amount - 1
|
||||||
|
end
|
||||||
|
if product[1] == "vtk-deepcore-mining-rough-diamond-chunk" then
|
||||||
|
amt = product[2]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
util.add_to_product("vtk-deepcore-mining-ore-chunk-refining",
|
||||||
|
"vtk-deepcore-mining-rough-diamond-chunk", 0-amt)
|
||||||
|
util.add_to_product("vtk-deepcore-mining-ore-chunk-refining",
|
||||||
|
"vtk-deepcore-mining-flake-graphite-chunk", amt)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
-- Green circuits in final fixes due to K2 shenanigans
|
-- Green circuits in final fixes due to K2 shenanigans
|
||||||
if not mods.MDbobelectronics then
|
if not mods.MDbobelectronics then
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzcarbon",
|
"name": "bzcarbon",
|
||||||
"version": "0.3.2",
|
"version": "0.3.3",
|
||||||
"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