[0.17.x] Fluid barreling recipe should check fluid.localised_name

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5202
Joined: Tue Jul 12, 2016 9:03 am
Contact:

[0.17.x] Fluid barreling recipe should check fluid.localised_name

Post by eradicator »

Currently the function for generating barreling recipes assings the wrong name if the fluid itself uses a localised name. This can be fixed by adding "fluid.localised_name or" into the assignment like this:

Code: Select all

localised_name = {"recipe-name.fill-barrel", fluid.localised_name or {"fluid-name." .. fluid.name}},
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5031
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.17.x] Fluid barreling recipe should check fluid.localised_name

Post by Klonan »

Fixed for the next release

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5202
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [0.17.x] Fluid barreling recipe should check fluid.localised_name

Post by eradicator »

Thank you.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Post Reply

Return to “Resolved Problems and Bugs”