From e85e58f9b1e44f41b510e67f1e6467a5c7a9addd Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 29 Jan 2020 11:32:43 +1100 Subject: [PATCH 1/3] Fix for flooring migration issue - Ref #152 --- changelog.txt | 5 +++++ info.json | 2 +- migrations/0.5.3.lua | 8 +++----- migrations/0.8.2.lua | 3 +-- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/changelog.txt b/changelog.txt index 89cbb7b..5c338f5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.10.5 +Date: 29. 01. 2020 + Bugfixes: + - Fixed flooring migration issue when adding mod to an existing save game +--------------------------------------------------------------------------------------------------- Version: 0.10.4 Date: 29. 01. 2020 Added: diff --git a/info.json b/info.json index 38c8a5c..1cedecd 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "Dectorio", - "version": "0.10.4", + "version": "0.10.5", "title": "Dectorio", "author": "PantherX", "contact": "", diff --git a/migrations/0.5.3.lua b/migrations/0.5.3.lua index 033dbd8..4f05fc4 100644 --- a/migrations/0.5.3.lua +++ b/migrations/0.5.3.lua @@ -1,5 +1,4 @@ for index, force in pairs(game.forces) do - force.reset_recipes() force.reset_technologies() @@ -15,9 +14,9 @@ for index, force in pairs(game.forces) do rec["dect-base-grass-dry"].enabled = true rec["dect-base-red-desert"].enabled = true rec["dect-base-red-desert-dark"].enabled = true - end + end end - if settings.startup["dectorio-flooring"].value then + if settings.startup["dectorio-wood"].value then if tech["dect-wood-floor"].researched then rec["dect-wood-floor"].enabled = true end @@ -38,5 +37,4 @@ for index, force in pairs(game.forces) do rec["dect-concrete-wall"].enabled = true end end - -end \ No newline at end of file +end diff --git a/migrations/0.8.2.lua b/migrations/0.8.2.lua index 8cd605a..9ab3ac5 100644 --- a/migrations/0.8.2.lua +++ b/migrations/0.8.2.lua @@ -1,12 +1,11 @@ for index, force in pairs(game.forces) do - force.reset_recipes() force.reset_technologies() local tech = force.technologies local rec = force.recipes - if settings.startup["dectorio-flooring"].value then + if settings.startup["dectorio-concrete"].value then if tech["concrete"].researched then rec["dect-concrete-grid"].enabled = true end From 971681df0701db6760916503aebe9e9ecad347f2 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 29 Jan 2020 11:45:27 +1100 Subject: [PATCH 2/3] New translations dectorio.ini (Spanish) --- locale/es-ES/dectorio.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/locale/es-ES/dectorio.cfg b/locale/es-ES/dectorio.cfg index 1ec57fd..d26fcc6 100644 --- a/locale/es-ES/dectorio.cfg +++ b/locale/es-ES/dectorio.cfg @@ -9,6 +9,10 @@ dectorio-signals=Habilitar señales dectorio-walls=Habilitar paredes y puertas dectorio-landscaping=Habilitar paisajismo dectorio-waterfill=Habilitar relleno con agua +dectorio-wood=Habilitar las losas de Madera +dectorio-gravel=Habilitar las losas de Grava +dectorio-concrete=Habilitar las losas de Concreto +dectorio-painted-concrete=Habilitar las losas de Concreto Pintado dectorio-signs=Habilitar signos dectorio-decoratives=Habilitar decoraciones dectorio-item-group=Separar pestaña de elaboración @@ -153,6 +157,8 @@ dect-sign-steel=Cartel de acero dect-small-lamp-glow=Lámpara resplandeciente dect-traffic-bollard=Bolardo de tráfico stone-wall=Muro de piedra +gate=Portón de Piedra +dect-concrete-gate=Portón de Concreto [tile-name] dect-concrete-grid=Cuadricula de concreto @@ -203,6 +209,7 @@ dect-wood-floor=Losas de madera dect-earthworks=Terraplenes dect-lawnmower=Cortadora de césped dect-signs=Carteles +gates=Portones básicos [technology-description] dect-landscaping=Permite colocar superficies terrestres naturales. From 80a2740d182c5c6f1a13aa4ef2c7b6297730bcd1 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 29 Jan 2020 11:48:38 +1100 Subject: [PATCH 3/3] Preparing Release v0.10.5 --- changelog.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.txt b/changelog.txt index 5c338f5..1fa9d76 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,8 @@ Version: 0.10.5 Date: 29. 01. 2020 Bugfixes: - Fixed flooring migration issue when adding mod to an existing save game + Locales: + - Updated Spanish translation (thanks to notallme) --------------------------------------------------------------------------------------------------- Version: 0.10.4 Date: 29. 01. 2020