From 126c1bf6b346f5fabe8d2122bc4eafa35bcdeda4 Mon Sep 17 00:00:00 2001 From: Brevven Date: Sat, 23 Mar 2024 14:12:41 -0700 Subject: [PATCH] balance SEK2 energy requirements for electrolysis --- changelog.txt | 7 +++++++ info.json | 2 +- prototypes/chlorine.lua | 6 +++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 9178a84..23d238a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,11 @@ --------------------------------------------------------------------------------------------------- +Version: 0.1.5 +Date: 2024-03-24 + Changes: + - K2 + SE: Cut the time for salt water electrolysis to balance energy requirements to be close + to what they were prior to SE changes. As of now the time is 1.25s, down from 3.5s; both at + 5.17MW. Before the SE changes, it was 2.5s at 2.58MW. +--------------------------------------------------------------------------------------------------- Version: 0.1.4 Date: 2023-04-23 Fixes: diff --git a/info.json b/info.json index 32df60e..8df3aa4 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzchlorine", - "version": "0.1.4", + "version": "0.1.5", "factorio_version": "1.1", "title": "Salt & Chlorine", "author": "Brevven", diff --git a/prototypes/chlorine.lua b/prototypes/chlorine.lua index 9e9787c..f69c30d 100644 --- a/prototypes/chlorine.lua +++ b/prototypes/chlorine.lua @@ -80,7 +80,11 @@ data:extend({ }) else util.replace_ingredient("kr-water-electrolysis", "sand", "salt", 2) - util.multiply_time("kr-water-electrolysis", 0.5) + if util.se6() then + util.multiply_time("kr-water-electrolysis", 5.0/28) + else + util.multiply_time("kr-water-electrolysis", 0.5) + end end data:extend({ {