Functions "create_barrel_item", "create_fill_barrel_recipe" and "create_empty_barrel_recipe" from "Base mod" aren't showing the localised_name, only reads {"fluid-name."..fluid.name}
How can it be solved?
Only add a check for fluid.localised_name before {"fluid-name." .. fluid.name}
On Factorio\data\base\data-updates.lua
line 95:
Code: Select all
localised_name = {"item-name.filled-barrel", fluid.localised_name or {"fluid-name." .. fluid.name}},
Code: Select all
localised_name = {"recipe-name.fill-barrel", fluid.localised_name or {"fluid-name." .. fluid.name}},
Code: Select all
localised_name = {"recipe-name.empty-filled-barrel", fluid.localised_name or {"fluid-name." .. fluid.name}},
Result