From 7b5747581add9e0f0e28f78b0f362220a3d72137 Mon Sep 17 00:00:00 2001 From: Daniel Grace Date: Sun, 31 Mar 2019 17:58:11 -0700 Subject: [PATCH] 0.2.1 for Factorio 0.17.23+ --- README.md | 4 ++++ changelog.txt | 13 +++++++++++++ control.lua | 22 +++++++++++----------- info.json | 4 ++-- 4 files changed, 30 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f763845..ecfcd42 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,10 @@ already been reported, and report it if not. ## Changelog +### 0.2.1 (2019-03-31) +* Update research requirements for changes made in Factorio 0.17.23 +* Fix crash when adding Batteries Not Included to an existing save that had QuickItemSwap enabled. + ### 0.2.0 (2019-02-26) * Updated for Factorio 0.17 diff --git a/changelog.txt b/changelog.txt index e261878..740f874 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,16 @@ +--------------------------------------------------------------------------------------------------- +Version: 0.2.1 +Date: 31. 03. 2019 + Bugfixes: + - Update research requirements for changes made in Factorio 0.17.23 + - Fix crash when adding Batteries Not Included to an existing save that had QuickItemSwap enabled. + +--------------------------------------------------------------------------------------------------- +Version: 0.2.0 +Date: 26. 02. 2019 + Changes: + - Update for Factorio 0.17 + --------------------------------------------------------------------------------------------------- Version: 0.1.4 Date: 08. 10. 2018 diff --git a/control.lua b/control.lua index 73d19a1..a1d51c1 100644 --- a/control.lua +++ b/control.lua @@ -30,18 +30,18 @@ local function qis_apply_patch() }, "BatteriesNotIncluded") end -local function on_init() - qis_register_events() - qis_apply_patch() -end - -local function on_load() - qis_register_events() -end +--local function on_init() +-- qis_register_events() +-- qis_apply_patch() +--end +-- +--local function on_load() +-- qis_register_events() +--end -script.on_init(on_init) -script.on_configuration_changed(on_init) -script.on_load(on_load) +script.on_init(qis_register_events) +script.on_load(qis_register_events) +--script.on_configuration_changed(qis_apply_patch) -- Register events. local function has_recoverable_battery(entity) diff --git a/info.json b/info.json index a9506cf..0702972 100644 --- a/info.json +++ b/info.json @@ -1,11 +1,11 @@ { "name": "BatteriesNotIncluded", - "version": "0.2.0", + "version": "0.2.1", "title": "Batteries Not Included", "author": "Dewin", "contact": "https://github.com/dewiniaid/BatteriesNotIncluded", "homepage": "https://github.com/dewiniaid/BatteriesNotIncluded", "factorio_version": "0.17", - "dependencies": ["base >= 0.17", "? QuickItemSwap"], + "dependencies": ["base >= 0.17.23", "? QuickItemSwap"], "description": "Run electric trains using battery packs that can be removed and recharged." }