This commit is contained in:
Brevven 2022-02-21 21:42:03 -08:00
parent 60604063c9
commit a920f78b60
4 changed files with 10 additions and 5 deletions

View file

@ -23,4 +23,4 @@ See changelog.txt
- [Yokmp](https://github.com/Yokmp) (de) - [Yokmp](https://github.com/Yokmp) (de)
- [TheoMarque](https://github.com/TheoMarque) (pl) - [TheoMarque](https://github.com/TheoMarque) (pl)
- [S3BA](https://github.com/S3BA-pl) (pl) - [S3BA](https://github.com/S3BA-pl) (pl)
- [x2605](https://github.com/x2605) (ko)

View file

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.5.8
Date: 2022-02-22
Changes:
- ko localization updates thanks to x2605
---------------------------------------------------------------------------------------------------
Version: 0.5.7 Version: 0.5.7
Date: 2022-02-12 Date: 2022-02-12
Changes: Changes:

View file

@ -70,7 +70,7 @@ end
function util.remove_prerequisite(technology_name, prerequisite) function util.remove_prerequisite(technology_name, prerequisite)
local technology = data.raw.technology[technology_name] local technology = data.raw.technology[technology_name]
local index = -1 local index = -1
if technology and data.raw.technology[prerequisite] then if technology then
for i, prereq in pairs(technology.prerequisites) do for i, prereq in pairs(technology.prerequisites) do
if prereq == prerequisite then if prereq == prerequisite then
index = i index = i
@ -558,7 +558,7 @@ function util.add_crafting_category(entity_type, entity, category)
if data.raw[entity_type][entity] then if data.raw[entity_type][entity] then
for i, existing in pairs(data.raw[entity_type][entity].crafting_categories) do for i, existing in pairs(data.raw[entity_type][entity].crafting_categories) do
if existing == category then if existing == category then
log(entity.." not adding "..new.." -- duplicate") log(entity.." not adding "..category.." -- duplicate")
return return
end end
end end

View file

@ -1,5 +1,5 @@
{ "name": "bztungsten", { "name": "bztungsten",
"version": "0.5.7", "version": "0.5.8",
"factorio_version": "1.1", "factorio_version": "1.1",
"title": "Tungsten", "title": "Tungsten",
"author": "Brevven", "author": "Brevven",
@ -13,6 +13,6 @@
"? DeadlockCrating", "? DeadlockCrating",
"? bzlead" "? 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."
} }