Heya,
in locales you can insert the name of some other prototypes with a `__(TYPE)__(name of prototype)__` syntax, as explained in this wiki tutorial. This only seems to work with items, entities, tiles and fluids - which I guess are the types that the base game uses.
And in my case it would be useful to have this also work with technologies and recipes.
(I don't know if there are more types where this would make sense if one wanted to be exhaustive. Maybe fuel categories.)
Have the '__TYPE__name__' localisation syntax work for recipes and technologies
Re: Have the '__TYPE__name__' localisation syntax work for recipes and technologies
It works for everything. I believe the issue you are running into is that most recipes do not have dedicated locale defined and instead use the locale from the item or fluid they produce.
If you want to get ahold of me I'm almost always on Discord.
Re: Have the '__TYPE__name__' localisation syntax work for recipes and technologies
Actually I was wrong, I thought I did this a while ago but it turns out I didn’t.
If you want to get ahold of me I'm almost always on Discord.
Re: Have the '__TYPE__name__' localisation syntax work for recipes and technologies
The locale macro works regardless, it's only the data stage that gets tricky.