From f1b6b9bf77af099122fc20af4474c5598191d797 Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 27 Mar 2023 16:10:34 -0700 Subject: [PATCH] phenol fix --- changelog.txt | 5 +++++ info.json | 2 +- prototypes/chlorine.lua | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 9492289..45b1b24 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.1.0 +Date: 2023-03-28 + Fixes: + - Fix startup issue when used with Natural Gas, without phenol. +--------------------------------------------------------------------------------------------------- Version: 0.0.13 Date: 2023-02-12 Fixes: diff --git a/info.json b/info.json index 8d5bcd0..71cabbb 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzchlorine", - "version": "0.0.13", + "version": "0.1.0", "factorio_version": "1.1", "title": "Salt & Chlorine", "author": "Brevven", diff --git a/prototypes/chlorine.lua b/prototypes/chlorine.lua index 6c7632c..173402d 100644 --- a/prototypes/chlorine.lua +++ b/prototypes/chlorine.lua @@ -182,7 +182,7 @@ if mods.bzgas then name="bakelite-hcl", results = {{"bakelite", 3}}, ingredients = { - {"phenol", 1}, + {data.raw.item["phenol"] and "phenol" or "coal", 1}, {type="fluid", name="formaldehyde", amount=10}, {type="fluid", name="hydrogen-chloride", amount=5}, },