From 71ace13588e2260b29f7bc7e352e37d9eb9b5e3f Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 21 Feb 2022 23:30:33 -0800 Subject: [PATCH] version --- README.md | 1 + changelog.txt | 5 +++-- data-util.lua | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6df452e..c46dac2 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,4 @@ See changelog.txt - [Thar0l](https://github.com/Thar0l) (ru) - [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 0da270e..4ac1eaf 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,7 +1,8 @@ --------------------------------------------------------------------------------------------------- Version: 0.5.6 -Date: 2021-02-12 - Changes: +Date: 2021-02-22 + Features: + - ko locale, thanks to x2605 - ja locale updates thanks to Sakuro --------------------------------------------------------------------------------------------------- Version: 0.5.5 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