From a0d241318181726ffb10d6427b825f312ec0d1aa Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 21 Feb 2022 21:18:43 -0800 Subject: [PATCH] bump version --- Makefile | 2 +- README.md | 1 + changelog.txt | 5 +++++ data-util.lua | 4 ++-- info.json | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 11be59f..b5e4c50 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # install` from dev/ to install the mod as a zip file. That zip file # should also be ready to upload to the mod portal -.PHONY: copy lint-changelog install +.PHONY: copy lint-changelog install zorro libdir = "../bzlib" libfiles = $(shell ls $(libdir)/*.lua | grep -o '[^/]*.lua') diff --git a/README.md b/README.md index d925d99..7c82bdd 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,4 @@ See changelog.txt - [Yokmp](https://github.com/Yokmp) (de) - [PlexPt](https://github.com/PlexPt) (zh\_CN) - [S3BA](https://github.com/S3BA-pl) (pl) +- [x2605](https://github.com/x2605) (ko) diff --git a/changelog.txt b/changelog.txt index 181bc1c..59c9421 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 1.0.2 +Date: 2022-02-04 + Changes: + - Korean (ko) l10n thanks to x2605 +--------------------------------------------------------------------------------------------------- Version: 1.0.1 Date: 2022-02-04 Changes: diff --git a/data-util.lua b/data-util.lua index 38e91d0..84b7785 100644 --- a/data-util.lua +++ b/data-util.lua @@ -70,7 +70,7 @@ end function util.remove_prerequisite(technology_name, prerequisite) local technology = data.raw.technology[technology_name] local index = -1 - if technology and data.raw.technology[prerequisite] then + if technology then for i, prereq in pairs(technology.prerequisites) do if prereq == prerequisite then index = i @@ -558,7 +558,7 @@ function util.add_crafting_category(entity_type, entity, category) if data.raw[entity_type][entity] then for i, existing in pairs(data.raw[entity_type][entity].crafting_categories) do if existing == category then - log(entity.." not adding "..new.." -- duplicate") + log(entity.." not adding "..category.." -- duplicate") return end end diff --git a/info.json b/info.json index 6fb367d..0757656 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzlead", - "version": "1.0.1", + "version": "1.0.2", "factorio_version": "1.1", "title": "Lead", "author": "Brevven",