Page 1 of 1

[0.12.33] Technology Description locale text with upgrades

Posted: Mon May 09, 2016 12:56 am
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.

Re: [0.12.33] Technology Description locale text with upgrades

Posted: Mon May 09, 2016 10:30 am
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