diff --git a/bztungsten2/changelog.txt b/bztungsten2/changelog.txt index a7ad895..87d5993 100644 --- a/bztungsten2/changelog.txt +++ b/bztungsten2/changelog.txt @@ -1,4 +1,10 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.3 +Date: 05.11.2025 + Bug Fixes: + - Fix K2 matter integration (thanks pla) + - Fixes after breaking change for mineral water in K2 (pla) +--------------------------------------------------------------------------------------------------- Version: 2.0.2 Date: 02.11.2025 Bug Fixes: diff --git a/bztungsten2/info.json b/bztungsten2/info.json index 2a1cd33..2aaa451 100644 --- a/bztungsten2/info.json +++ b/bztungsten2/info.json @@ -1,6 +1,6 @@ { "name": "bztungsten2", - "version": "2.0.2", + "version": "2.0.3", "factorio_version": "2.0", "title": "Tungsten", "description": "Adds tungsten ore (wolframite), tungsten plates, tungsten carbide and rocket engine nozzles to the base game.", diff --git a/bztungsten2/tungsten-recipe-updates.lua b/bztungsten2/tungsten-recipe-updates.lua index c7781a3..5343718 100644 --- a/bztungsten2/tungsten-recipe-updates.lua +++ b/bztungsten2/tungsten-recipe-updates.lua @@ -1,4 +1,4 @@ -local util = require("data-util"); +local util = require("data-util") local cuw = "tungsten-plate" if util.me.cuw() then cuw = "cuw" end @@ -102,6 +102,14 @@ util.add_ingredient("deadlock-floor-lamp", "tungsten-plate", 2) ---- K2 if mods["Krastorio2"] then + util.remove_prerequisite("kr-mineral-water-gathering", "chemical-science-pack") + util.add_prerequisite("kr-mineral-water-gathering", "kr-fluids-chemistry") + util.add_prerequisite("kr-mineral-water-gathering", "logistic-science-pack") + + util.set_tech_recipe( + "kr-mineral-water-gathering", + { { "kr-basic-tech-card", 1 }, { "automation-science-pack", 1 }, { "logistic-science-pack", 1 } } + ) util.set_tech_recipe("engine", {{"kr-basic-tech-card", 1}, {"automation-science-pack", 1}, {"logistic-science-pack", 1}}) util.set_tech_recipe("fluid-handling", {{"kr-basic-tech-card", 1}, {"automation-science-pack", 1}, {"logistic-science-pack", 1}}) util.set_tech_recipe("lamp", {{"kr-basic-tech-card", 1}, {"automation-science-pack", 1}, {"logistic-science-pack", 1}})