Compare commits

..

2 commits
2.0.4 ... main

Author SHA1 Message Date
Simon Brodtmann
959b3dea1d 2.0.5 2025-12-10 19:55:04 +01:00
Simon Brodtmann
64d1305c45 Fix for when foundry is disabled in settings 2025-12-10 19:19:33 +01:00
3 changed files with 7 additions and 2 deletions

View file

@ -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:

View file

@ -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.",

View file

@ -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")