From 64d1305c45c6ceef9001f662cf8ce8884581860a Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 10 Dec 2025 19:19:33 +0100 Subject: [PATCH 1/2] Fix for when foundry is disabled in settings --- bzgas2/prototypes/bakelite.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzgas2/prototypes/bakelite.lua b/bzgas2/prototypes/bakelite.lua index e4815d1..c5c0a29 100644 --- a/bzgas2/prototypes/bakelite.lua +++ b/bzgas2/prototypes/bakelite.lua @@ -3,7 +3,7 @@ local util = require("data-util"); local prereq = {"basic-chemistry"} if mods["Krastorio2"] then table.insert(prereq, "steel-processing") -elseif mods["bzfoundry2"] then +elseif util.is_foundry() then table.insert(prereq, "foundry") elseif mods["aai-industry"] then table.insert(prereq, "automation") From 959b3dea1d96fde4713c626c6e33f69b6c434d30 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 10 Dec 2025 19:55:04 +0100 Subject: [PATCH 2/2] 2.0.5 --- bzgas2/changelog.txt | 5 +++++ bzgas2/info.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bzgas2/changelog.txt b/bzgas2/changelog.txt index d7257f7..98de4c9 100644 --- a/bzgas2/changelog.txt +++ b/bzgas2/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.5 +Date: 10.12.2025 + Bug Fixes: + - Fix for when foundry is disabled in settings +--------------------------------------------------------------------------------------------------- Version: 2.0.4 Date: 08.11.2025 Bug Fixes: diff --git a/bzgas2/info.json b/bzgas2/info.json index 847aa81..d6c756c 100644 --- a/bzgas2/info.json +++ b/bzgas2/info.json @@ -1,6 +1,6 @@ { "name": "bzgas2", - "version": "2.0.4", + "version": "2.0.5", "factorio_version": "2.0", "title": "Natural Gas", "description": "Adds a natural gas resource, along with early game plastic.",