From b30feab9ca9aed9a47ea853152c53464c7139eb1 Mon Sep 17 00:00:00 2001 From: Mason11987 Date: Sat, 30 Oct 2021 01:33:05 -0400 Subject: [PATCH 1/3] birth_year should be birth_second --- exportlegends.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exportlegends.lua b/exportlegends.lua index 5ae665816..7e9aa7921 100644 --- a/exportlegends.lua +++ b/exportlegends.lua @@ -403,7 +403,7 @@ function export_more_legends_xml() if idV.race >= 0 then file:write("\t\t"..(df.global.world.raws.creatures.all[idV.race].creature_id):lower().."\n") end if idV.race >= 0 and idV.caste >= 0 then file:write("\t\t"..(df.global.world.raws.creatures.all[idV.race].caste[idV.caste].caste_id):lower().."\n") end file:write("\t\t"..idV.birth_year.."\n") - file:write("\t\t"..idV.birth_year.."\n") + file:write("\t\t"..idV.birth_second.."\n") if idV.profession >= 0 then file:write("\t\t"..(df_enums.profession[idV.profession]):lower().."\n") end file:write("\t\t"..idV.entity_id.."\n") file:write("\t\n") From 6fd872611cdadbe3c1bd1732c030e8b2cc0816aa Mon Sep 17 00:00:00 2001 From: Mason11987 Date: Mon, 1 Nov 2021 15:05:01 -0400 Subject: [PATCH 2/3] Update changelog.txt --- changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.txt b/changelog.txt index 9420e9fcb..2d73f1bfc 100644 --- a/changelog.txt +++ b/changelog.txt @@ -25,6 +25,7 @@ that repo. - `quickfort`: fix incorrect directions for tracks that extend south or east from a track segment pair specified with expansion syntax (e.g. T(4x4)) - `quickfort`: fix parsing of multi-part extended zone configs (e.g. when you set custom supply limits for hospital zones AND set custom flags for a pond) - `quickfort`: fix error when attempting to set a custom limit for plaster powder in a hospital zone +- `exportlegneds`: fix issue where birth year was outputted as birth seconds ## Misc Improvements - `gui/blueprint`: support the new ``--splitby`` and ``--format`` options for `blueprint` From 3891400e62124616bd097ea2a7933761992622c4 Mon Sep 17 00:00:00 2001 From: lethosor Date: Tue, 7 Dec 2021 21:48:43 -0500 Subject: [PATCH 3/3] Fix changelog typo --- changelog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 2d73f1bfc..fc2aa78e2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -25,7 +25,7 @@ that repo. - `quickfort`: fix incorrect directions for tracks that extend south or east from a track segment pair specified with expansion syntax (e.g. T(4x4)) - `quickfort`: fix parsing of multi-part extended zone configs (e.g. when you set custom supply limits for hospital zones AND set custom flags for a pond) - `quickfort`: fix error when attempting to set a custom limit for plaster powder in a hospital zone -- `exportlegneds`: fix issue where birth year was outputted as birth seconds +- `exportlegends`: fix issue where birth year was outputted as birth seconds ## Misc Improvements - `gui/blueprint`: support the new ``--splitby`` and ``--format`` options for `blueprint`