Compare commits
11 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ea99b716c | ||
|
|
858d7d4f20 | ||
|
|
159ca3b1c0 | ||
|
|
c02885c314 | ||
|
|
824922faf7 | ||
|
|
b604045779 | ||
|
|
0767319efd | ||
|
|
da43a2cdb2 | ||
|
|
206aa4614d | ||
|
|
7dead53138 | ||
|
|
30d3b89193 |
7 changed files with 24 additions and 20 deletions
|
|
@ -12,8 +12,7 @@ This mod mostly impacts the early game including electronic circuit creation. Wi
|
||||||
- [cackling fiend](https://mods.factorio.com/user/cackling.fiend) (Update to 2.0)
|
- [cackling fiend](https://mods.factorio.com/user/cackling.fiend) (Update to 2.0)
|
||||||
- [ElAdamo](https://mods.factorio.com/user/ElAdamo) (Gas-fired boiler: code, design, graphics) (code is public domain)
|
- [ElAdamo](https://mods.factorio.com/user/ElAdamo) (Gas-fired boiler: code, design, graphics) (code is public domain)
|
||||||
- [Sakuro](https://github.com/sakuro) (expand options, icon tweaks)
|
- [Sakuro](https://github.com/sakuro) (expand options, icon tweaks)
|
||||||
- [Benjah-bmm27](https://commons.wikimedia.org/wiki/User:Benjah-bmm27) ([Formaldehyde icon](https://commons.wikimedia.org/wiki/File:Formaldehyde-3D-vdW.png),
|
- [Benjah-bmm27](https://commons.wikimedia.org/wiki/User:Benjah-bmm27) ([Formaldehyde icon](https://commons.wikimedia.org/wiki/File:Formaldehyde-3D-vdW.png), public domain)
|
||||||
public domain)
|
|
||||||
|
|
||||||
### Compatibility
|
### Compatibility
|
||||||
- [nihilistzsche](https://github.com/nihilistzsche)
|
- [nihilistzsche](https://github.com/nihilistzsche)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,14 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.0.2
|
||||||
|
Date: 22.10.2025
|
||||||
|
Bug Fixes:
|
||||||
|
- Fix bakelite prerequisite if foundry is present
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.0.1
|
||||||
|
Date: 21.10.2025
|
||||||
|
Changes:
|
||||||
|
- Switch to bz mods forks
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Date: 19.10.2025
|
Date: 19.10.2025
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ end
|
||||||
|
|
||||||
-- Vanilla burner phase tweaks -- green circuits after electronics
|
-- Vanilla burner phase tweaks -- green circuits after electronics
|
||||||
-- Electronic circuit recipe set below in compatibility script
|
-- Electronic circuit recipe set below in compatibility script
|
||||||
if not mods.Krastorio2 and not mods["aai-industry"] and not mods.bzaluminum2 and not mods.bzcarbon then
|
if not mods.Krastorio2 and not mods["aai-industry"] and not mods.bzaluminum2 and not mods["bzcarbon2"] then
|
||||||
util.replace_ingredient("offshore-pump", "electronic-circuit", "copper-cable")
|
util.replace_ingredient("offshore-pump", "electronic-circuit", "copper-cable")
|
||||||
util.replace_ingredient("lab", "electronic-circuit", "copper-cable")
|
util.replace_ingredient("lab", "electronic-circuit", "copper-cable")
|
||||||
util.replace_ingredient("electric-mining-drill", "electronic-circuit", "copper-cable", 2, true)
|
util.replace_ingredient("electric-mining-drill", "electronic-circuit", "copper-cable", 2, true)
|
||||||
|
|
@ -38,7 +38,7 @@ if not mods.Krastorio2 and not mods["aai-industry"] and not mods.bzaluminum2 and
|
||||||
util.set_enabled("inserter", false)
|
util.set_enabled("inserter", false)
|
||||||
util.add_prerequisite("logistic-science-pack", "electronics")
|
util.add_prerequisite("logistic-science-pack", "electronics")
|
||||||
end
|
end
|
||||||
if not mods.bzaluminum2 and not mods.bzcarbon then
|
if not mods.bzaluminum2 and not mods["bzcarbon2"] then
|
||||||
util.replace_ingredients_prior_to("electronics", "electronic-circuit", "copper-cable", 2)
|
util.replace_ingredients_prior_to("electronics", "electronic-circuit", "copper-cable", 2)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1188,8 +1188,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier)
|
||||||
end
|
end
|
||||||
util.remove_prior_unlocks(tech, old)
|
util.remove_prior_unlocks(tech, old)
|
||||||
for i, recipe in pairs(data.raw.recipe) do
|
for i, recipe in pairs(data.raw.recipe) do
|
||||||
if (recipe.enabled and recipe.enabled ~= 'false')
|
if (recipe.enabled and recipe.enabled ~= false)
|
||||||
and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes
|
and (not recipe.hidden or recipe.hidden == true) -- probably don't want to change hidden recipes
|
||||||
and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
|
and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
|
||||||
then
|
then
|
||||||
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzgas2",
|
"name": "bzgas2",
|
||||||
"version": "2.0.0",
|
"version": "2.0.2",
|
||||||
"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.",
|
||||||
|
|
@ -9,12 +9,12 @@
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"base >= 2.0.0",
|
"base >= 2.0.0",
|
||||||
"? bzfoundry2 >= 2.0.0",
|
"? bzfoundry2 >= 2.0.0",
|
||||||
"? bztitanium >= 2.0.26",
|
"? bztitanium2 >= 2.0.26",
|
||||||
"? bzlead >= 2.0.28",
|
"? bzlead2 >= 2.0.29",
|
||||||
"? bzzirconium >= 2.1.13",
|
"? bzzirconium2 >= 2.1.14",
|
||||||
"? bztungsten >= 0.6.0",
|
"? bztungsten2 >= 2.0.0",
|
||||||
"? bzcarbon >= 2.0.21",
|
"? bzcarbon2 >= 2.0.22",
|
||||||
"? bztin >= 2.1.15",
|
"? bztin2 >= 2.1.16",
|
||||||
"? warptorio2_expansion",
|
"? warptorio2_expansion",
|
||||||
"? space-exploration >= 0.7.34",
|
"? space-exploration >= 0.7.34",
|
||||||
"? aai-industry >= 0.6.13",
|
"? aai-industry >= 0.6.13",
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,5 @@
|
||||||
local util = require("data-util");
|
local util = require("data-util");
|
||||||
|
|
||||||
b_prereq = {"basic-chemistry"}
|
|
||||||
if data.raw.technology["foundry"] then
|
|
||||||
table.insert(b_prereq, "foundry")
|
|
||||||
end
|
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
|
|
@ -35,7 +30,7 @@ data:extend({
|
||||||
name = "bakelite",
|
name = "bakelite",
|
||||||
icon = "__bzgas2__/graphics/technology/bakelite.png",
|
icon = "__bzgas2__/graphics/technology/bakelite.png",
|
||||||
icon_size = 256,
|
icon_size = 256,
|
||||||
prerequisites = b_prereq,
|
prerequisites = {"basic-chemistry"},
|
||||||
effects = {
|
effects = {
|
||||||
{type = "unlock-recipe", recipe = "bakelite"},
|
{type = "unlock-recipe", recipe = "bakelite"},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ local ge_ingredients = {
|
||||||
{type="item", name="stone-brick", amount=4},
|
{type="item", name="stone-brick", amount=4},
|
||||||
}
|
}
|
||||||
local ge_prereq = {"automation"}
|
local ge_prereq = {"automation"}
|
||||||
if mods.bzlead then table.insert(ge_ingredients, {type="item", name="lead-plate", amount=4}) end
|
if mods["bzlead2"] then table.insert(ge_ingredients, {type="item", name="lead-plate", amount=4}) end
|
||||||
if mods.Krastorio2 then
|
if mods.Krastorio2 then
|
||||||
table.insert(ge_ingredients, {type="item", name="kr-sand", amount=10})
|
table.insert(ge_ingredients, {type="item", name="kr-sand", amount=10})
|
||||||
ge_prereq = {"kr-stone-processing"}
|
ge_prereq = {"kr-stone-processing"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue