diff --git a/bzgas2/changelog.txt b/bzgas2/changelog.txt index b303e3c..98de4c9 100644 --- a/bzgas2/changelog.txt +++ b/bzgas2/changelog.txt @@ -1,4 +1,14 @@ --------------------------------------------------------------------------------------------------- +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: + - Fix recipe name +--------------------------------------------------------------------------------------------------- Version: 2.0.3 Date: 05.11.2025 Bug Fixes: diff --git a/bzgas2/compatibility/electronic-circuit.lua b/bzgas2/compatibility/electronic-circuit.lua index 74a3440..e1f9aef 100644 --- a/bzgas2/compatibility/electronic-circuit.lua +++ b/bzgas2/compatibility/electronic-circuit.lua @@ -27,7 +27,7 @@ if util.me.handcraft() and not mods["aai-industry"] then end local hcec = futil.table.deepcopy(data.raw.recipe["electronic-circuit"]) hcec.name = "electronic-circuit-handcraft-only" - hcec.localized_name = { "item-name.electronic-circuit" } + hcec.localised_name = { "item-name.electronic-circuit" } data:extend({hcec}) util.set_icons("electronic-circuit-handcraft-only", { diff --git a/bzgas2/info.json b/bzgas2/info.json index bdcec07..d6c756c 100644 --- a/bzgas2/info.json +++ b/bzgas2/info.json @@ -1,6 +1,6 @@ { "name": "bzgas2", - "version": "2.0.3", + "version": "2.0.5", "factorio_version": "2.0", "title": "Natural Gas", "description": "Adds a natural gas resource, along with early game plastic.", 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")