Compare commits

...

3 commits
2.0.3 ... main

Author SHA1 Message Date
Simon Brodtmann
64d1305c45 Fix for when foundry is disabled in settings 2025-12-10 19:19:33 +01:00
Simon Brodtmann
afc504c789 2.0.4 2025-11-08 21:17:11 +01:00
Simon Brodtmann
4590fa6b98 Fix hand craft only recipe name 2025-11-05 17:24:33 +01:00
4 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 2.0.4
Date: 08.11.2025
Bug Fixes:
- Fix recipe name
---------------------------------------------------------------------------------------------------
Version: 2.0.3 Version: 2.0.3
Date: 05.11.2025 Date: 05.11.2025
Bug Fixes: Bug Fixes:

View file

@ -27,7 +27,7 @@ if util.me.handcraft() and not mods["aai-industry"] then
end end
local hcec = futil.table.deepcopy(data.raw.recipe["electronic-circuit"]) local hcec = futil.table.deepcopy(data.raw.recipe["electronic-circuit"])
hcec.name = "electronic-circuit-handcraft-only" hcec.name = "electronic-circuit-handcraft-only"
hcec.localized_name = { "item-name.electronic-circuit" } hcec.localised_name = { "item-name.electronic-circuit" }
data:extend({hcec}) data:extend({hcec})
util.set_icons("electronic-circuit-handcraft-only", util.set_icons("electronic-circuit-handcraft-only",
{ {

View file

@ -1,6 +1,6 @@
{ {
"name": "bzgas2", "name": "bzgas2",
"version": "2.0.3", "version": "2.0.4",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Natural Gas", "title": "Natural Gas",
"description": "Adds a natural gas resource, along with early game plastic.", "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"} local prereq = {"basic-chemistry"}
if mods["Krastorio2"] then if mods["Krastorio2"] then
table.insert(prereq, "steel-processing") table.insert(prereq, "steel-processing")
elseif mods["bzfoundry2"] then elseif util.is_foundry() then
table.insert(prereq, "foundry") table.insert(prereq, "foundry")
elseif mods["aai-industry"] then elseif mods["aai-industry"] then
table.insert(prereq, "automation") table.insert(prereq, "automation")