diff --git a/data-final-fixes.lua b/data-final-fixes.lua index 372ddac..ce92838 100644 --- a/data-final-fixes.lua +++ b/data-final-fixes.lua @@ -343,10 +343,13 @@ for category_name, proto in pairs(data.raw["resource-category"]) do end -- End resource category locale builder -if mods.pycoalprocessing and not mods["extended-descriptions"] then +if mods.pycoalprocessing and not mods["MoreTooltips"] then for _, recipe in pairs(data.raw.recipe) do - if recipe.allow_productivity then - py.add_to_description("recipe", recipe, {"recipe-description.affected-by-productivity"}) + if recipe.allow_productivity == true then + if not recipe.custom_tooltip_fields then + recipe.custom_tooltip_fields = {} + end + table.insert(recipe.custom_tooltip_fields, { name = "", value = { "recipe-description.affected-by-productivity" }, order = 10 }) end end end diff --git a/locale/de/locale.cfg b/locale/de/locale.cfg index 240aa7b..2e81a13 100644 --- a/locale/de/locale.cfg +++ b/locale/de/locale.cfg @@ -19,7 +19,7 @@ consistency-check-complete=Technologieüberprüfung abgeschlossen. Einen schöne yarm-remote-viewer=Charakter [recipe-description] -affected-by-productivity=[font=default-semibold][color=255,230,192]Beeinflusst durch Produktivität[/color][/font] +affected-by-productivity=Beeinflusst durch Produktivität [recipe-name] recipe-amount=(__1__ ×) __2__ diff --git a/locale/en/locale.cfg b/locale/en/locale.cfg index ad74603..5865dc2 100644 --- a/locale/en/locale.cfg +++ b/locale/en/locale.cfg @@ -25,7 +25,7 @@ update-note=[color=yellow]__1__ update note:[/color] __2__ yarm-remote-viewer=Character [recipe-description] -affected-by-productivity=[font=default-semibold][color=255,230,192]Affected by productivity[/color][/font] +affected-by-productivity=Affected by productivity [recipe-name] recipe-amount=(__1__ ×) __2__ diff --git a/locale/es-ES/locale.cfg b/locale/es-ES/locale.cfg index 3aebbd5..b317b82 100644 --- a/locale/es-ES/locale.cfg +++ b/locale/es-ES/locale.cfg @@ -27,7 +27,7 @@ update-note=[color=yellow]__1__ Notas de la actualización:[/color] __2__ yarm-remote-viewer=Personaje [recipe-description] -affected-by-productivity=[font=default-semibold][color=255,230,192]Afectado por la productividad[/color][/font] +affected-by-productivity=Afectado por la productividad [recipe-name] recipe-amount=(__1__ ×) __2__ diff --git a/locale/fr/locale.cfg b/locale/fr/locale.cfg index 174ed0b..c8cf48d 100644 --- a/locale/fr/locale.cfg +++ b/locale/fr/locale.cfg @@ -19,7 +19,7 @@ consistency-check-complete=Vérification de la technologie terminée, bonne jour yarm-remote-viewer=Personnage [recipe-description] -affected-by-productivity=[font=default-semibold][color=255,230,192]Affecté par la productivité[/color][/font] +affected-by-productivity=Affecté par la productivité [recipe-name] recipe-amount=(__1__ ×) __2__ diff --git a/locale/nl/locale.cfg b/locale/nl/locale.cfg index 12d6b03..d10b250 100644 --- a/locale/nl/locale.cfg +++ b/locale/nl/locale.cfg @@ -21,7 +21,7 @@ consistency-check-complete=Technologieverificatie klaar, fijne dag. yarm-remote-viewer=Karakter [recipe-description] -affected-by-productivity=[font=default-semibold][color=255,230,192]Beïnvloed door productiviteit[/color][/font] +affected-by-productivity=Beïnvloed door productiviteit [recipe-name] recipe-amount=(__1__ ×) __2__ diff --git a/locale/pl/locale.cfg b/locale/pl/locale.cfg index 0b76f57..38e5de8 100644 --- a/locale/pl/locale.cfg +++ b/locale/pl/locale.cfg @@ -25,7 +25,7 @@ update-note=[color=yellow]__1__ informacja o aktualizacji:[/color] __2__ yarm-remote-viewer=Postać [recipe-description] -affected-by-productivity=[font=default-semibold][color=255,230,192]Wpływ na produktywność[/color][/font] +affected-by-productivity=Wpływ na produktywność [recipe-name] recipe-amount=(__1__ ×) __2__ diff --git a/locale/ru/locale.cfg b/locale/ru/locale.cfg index ace3590..c95a2bf 100644 --- a/locale/ru/locale.cfg +++ b/locale/ru/locale.cfg @@ -28,7 +28,7 @@ yarm-remote-viewer=Персонаж recipe-amount=(__1__ ×) __2__ [recipe-description] -affected-by-productivity=[font=default-semibold][color=255,230,192]На рецепт влияет продуктивность[/color][/font] +affected-by-productivity=На рецепт влияет продуктивность [modifier-description] change-recipe-productivity=Продуктивность "__1__": __2__ diff --git a/locale/uk/locale.cfg b/locale/uk/locale.cfg index e6dc507..aa1b589 100644 --- a/locale/uk/locale.cfg +++ b/locale/uk/locale.cfg @@ -19,7 +19,7 @@ consistency-check-complete=Перевірку технології заверш yarm-remote-viewer=Персонаж [recipe-description] -affected-by-productivity=[font=default-semibold][color=255,230,192]Впливає на продуктивність[/color][/font] +affected-by-productivity=Впливає на продуктивність [recipe-name] recipe-amount=(__1__ ×) __2__