Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions data-final-fixes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion locale/de/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
2 changes: 1 addition & 1 deletion locale/en/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
2 changes: 1 addition & 1 deletion locale/es-ES/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
2 changes: 1 addition & 1 deletion locale/fr/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
2 changes: 1 addition & 1 deletion locale/nl/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
2 changes: 1 addition & 1 deletion locale/pl/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
2 changes: 1 addition & 1 deletion locale/ru/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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__
2 changes: 1 addition & 1 deletion locale/uk/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
Loading