From a920f78b60fbb17eeaee51e7adf398316ab04851 Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 21 Feb 2022 21:42:03 -0800 Subject: [PATCH] version --- README.md | 2 +- changelog.txt | 5 +++++ data-util.lua | 4 ++-- info.json | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9b67c4e..6db2e00 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,4 @@ See changelog.txt - [Yokmp](https://github.com/Yokmp) (de) - [TheoMarque](https://github.com/TheoMarque) (pl) - [S3BA](https://github.com/S3BA-pl) (pl) - +- [x2605](https://github.com/x2605) (ko) diff --git a/changelog.txt b/changelog.txt index 4daa15e..277764d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.5.8 +Date: 2022-02-22 + Changes: + - ko localization updates thanks to x2605 +--------------------------------------------------------------------------------------------------- Version: 0.5.7 Date: 2022-02-12 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 8eb5c50..6c7d247 100644 --- a/info.json +++ b/info.json @@ -1,5 +1,5 @@ { "name": "bztungsten", - "version": "0.5.7", + "version": "0.5.8", "factorio_version": "1.1", "title": "Tungsten", "author": "Brevven", @@ -13,6 +13,6 @@ "? DeadlockCrating", "? bzlead" ], - "description": "Adds tungsten ore (wolframite), tungsten plates, tungsten carbide and rocket engine nozzles to the base game.\n\nCompatible with RSO, Space Exploration, Krastorio 2, and several other mods. Part of BZ Mods." + "description": "Adds tungsten ore (wolframite), tungsten plates, tungsten carbide and rocket engine nozzles to the base game.\n\nCompatible with RSO, Space Exploration, Krastorio 2, and several other mods. A standalone piece of BZ Mods." }