[0.12.33] Technology Description locale text with upgrades

Bugs that are actually features.
User avatar
Afforess
Filter Inserter
Filter Inserter
Posts: 422
Joined: Tue May 05, 2015 6:07 pm
Contact:

[0.12.33] Technology Description locale text with upgrades

Post by Afforess »

I honestly don't know if this is intended behavior or a bug. I figured I'd report it and find out one way or the other.

When setting a locale text for a technology, that text is automatically applied to all upgrade techs too.

So for example, my locale/en/foo.cfg has:

Code: Select all

[technology-description]
foo=This is an example tech!
foo-2=This is an upgrade of foo!
However, both tech 'foo' and 'foo-2' show the technology description for 'foo'. This is the case regardless of whether 'upgrade = true' is set in the prototype definition.

What I would expect is that when 'upgrade = false' in a technology, foo-2 technology description would apply.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5406
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.12.33] Technology Description locale text with upgrades

Post by Klonan »

Thanks for the report,

This is an intended behavior, to save on lines when the description is the same. Its easy just to set the name to "foo-two" and it will use the other locale
Post Reply

Return to “Not a bug”