Compare commits

...

14 commits
2.0.0 ... main

Author SHA1 Message Date
Simon Brodtmann
04859fe034 2.0.2 2025-10-22 23:25:55 +02:00
Simon Brodtmann
3346155a08 Fix epoxy recipe 2025-10-22 00:16:14 +02:00
Simon Brodtmann
1e8af13706 Fix booleans being strings 2025-10-22 00:16:01 +02:00
Simon Brodtmann
e168c68a66 2.0.1 2025-10-21 16:01:25 +02:00
Simon Brodtmann
9d6fa99849 Update to bzzirconium2 2025-10-21 14:52:53 +02:00
Simon Brodtmann
0c48494f89 Update to bztitanium2 2025-10-21 14:27:24 +02:00
Simon Brodtmann
335ca4580c Update to bztin2 2025-10-21 14:27:21 +02:00
Simon Brodtmann
19141e3b76 Update to bzlead2 2025-10-20 10:23:10 +02:00
Simon Brodtmann
f9b3d84f88 Update to bzcarbon2 2025-10-19 17:53:51 +02:00
Simon Brodtmann
57dea0540b Update to bztungsten2 2025-10-19 15:52:29 +02:00
Simon Brodtmann
2f9fdd508f Update to bzgas2 2025-10-19 14:51:15 +02:00
Simon Brodtmann
65f3672629 readme 2025-10-19 00:12:04 +02:00
Simon Brodtmann
fa9dd797ef readme 2025-10-19 00:09:05 +02:00
Simon Brodtmann
744730de91 Update to bzfoundry2 2025-10-19 00:00:52 +02:00
6 changed files with 26 additions and 19 deletions

View file

@ -3,12 +3,9 @@
**Compatibility with Space Age is explicitly excluded until someone integrates it nicely.**
# Salt & Chlorine
Adds salt, chlorine, and a variety of intermediates to the base game. Changes advanced circuit production.
Compatible with Krastorio 2 and Space Exploration. A standalone piece of BZ Mods.
## Thanks to
## Credits
- Brevven ([Original mod](https://mods.factorio.com/mod/bzchlorine))
- [Benjah-bmm27](https://commons.wikimedia.org/wiki/File:Vinyl-chloride-3D-vdW.png) (vinyl chloride icon)
- [snouz](https://github.com/snouz) (logo inspiration)

View file

@ -1,4 +1,14 @@
---------------------------------------------------------------------------------------------------
Version: 2.0.2
Date: 22.10.2025
Bug Fixes:
- Fix epoxy recipe
---------------------------------------------------------------------------------------------------
Version: 2.0.1
Date: 21.10.2025
Changes:
- Switch to bz mods forks
---------------------------------------------------------------------------------------------------
Version: 2.0.0
Date: 18.10.2025
Changes:

View file

@ -44,7 +44,7 @@ if get_setting("bz-recipe-bypass") then
end
function util.is_foundry()
return mods.bzfoundry and not me.get_setting("bzfoundry-minimal")
return mods.bzfoundry2 and not me.get_setting("bzfoundry-minimal")
end
function should_force(options)
@ -1191,8 +1191,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier)
end
util.remove_prior_unlocks(tech, old)
for i, recipe in pairs(data.raw.recipe) do
if (recipe.enabled and recipe.enabled ~= 'false')
and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes
if (recipe.enabled and recipe.enabled ~= false)
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 :(
then
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|

View file

@ -1,6 +1,6 @@
{
"name": "bzchlorine2",
"version": "2.0.0",
"version": "2.0.2",
"factorio_version": "2.0",
"title": "Salt & Chlorine",
"description": "Adds salt, chlorine and more to the base game. Reworks advanced circuit production.",
@ -8,14 +8,14 @@
"homepage": "https://discord.gg/ufvFUJtVwk",
"dependencies": [
"base >= 2.0.0",
"? bzfoundry >= 2.0.0",
"? bztitanium >= 2.0.26",
"? bzlead >= 2.0.28",
"? bzzirconium >= 2.1.13",
"? bztungsten >= 0.6.0",
"? bzcarbon >= 2.0.21",
"? bztin >= 2.1.15",
"? bzgas >= 2.0.0",
"? bzfoundry2 >= 2.0.0",
"? bztitanium2 >= 2.0.27",
"? bzlead2 >= 2.0.29",
"? bzzirconium2 >= 2.1.14",
"? bztungsten2 >= 2.0.0",
"? bzcarbon2 >= 2.0.22",
"? bztin2 >= 2.1.16",
"? bzgas2 >= 2.0.0",
"? space-exploration >= 0.7.34",
"? aai-industry >= 0.6.13",
"(?) aai-loaders >= 0.2.7",

View file

@ -185,7 +185,7 @@ else
util.add_unlock("kr-fluids-chemistry", "hydrogen-chloride-salt")
end
if mods.bzgas then
if mods.bzgas2 then
data:extend({
{
type="recipe",
@ -198,7 +198,7 @@ if mods.bzgas then
{type="fluid", name=hcl_name, amount=5},
},
icons = {
{icon = "__bzgas__/graphics/icons/bakelite.png", icon_size=128},
{icon = "__bzgas2__/graphics/icons/bakelite.png", icon_size=128},
{icon = "__bzchlorine2__/graphics/icons/hcl.png", icon_size=128, scale=0.125, shift={-8,-8}},
},
enabled = false,

View file

@ -1,6 +1,6 @@
local util = require("data-util");
local cl_name = mods.Krastorio2 and "kr-chlorine" or cl_name
local cl_name = mods.Krastorio2 and "kr-chlorine" or "chlorine"
data:extend({
{