[0.16] Small technology prototype bug (visible in 0.17)
Posted: Sun Apr 15, 2018 4:25 pm
Hi,
I'm currently working on a mod that alters the technology research. It became to my attention the way 'upgrades' work.
As of now, an upgrade is just defined by the technology name: for example:
It has the same local translations, it (could) have different items (not my point), but its an upgrade becose its name has an extra number at the end of its name. It will also have a protoype setting "upgrade = true".
Now the bug:
On the accumulator it is also displaying the extra number. This results ingame in the local translation it will add the 1 at the end of the technology name. The best way to take care of this, is by setting "upgrade = false" in this case. As I assume this is already the default value, its just getting ignored, it's still displaying the 1 at the end.
I know, it's just a small detail... But in 0.17 this gets even worse (refering to the preview image, as shown below). The icons also show the number of upgrade, and for accumulators it also shows the '1', but it has no extra updates...
Thats not all, for other upgrades its not showing the number 1 as its not defined in the prototype name:
This is also visible in the picture above: the automation 1 is not showing the '1' in the image (and also not in the name), but it does for automation 2 and 3. In tehse cases the upgrade = true doesn't affect this either.
So in my oppinion the upgrade parameter of the prototypes aren't working as (as I think) there should. On the other hand with 0.17 in the background I would suggest renaming following prototypes to add the '-1' in the name:
And as last a fix on the upgrade attribute of the technology prototype to take effect in the localized naming of technologies.
I know it's not a big issue, but then, isn't 0.17 about perfection for 0.1.0 release?
Kind regards,
lovely_santa
I'm currently working on a mod that alters the technology research. It became to my attention the way 'upgrades' work.
As of now, an upgrade is just defined by the technology name: for example:
Code: Select all
{
type = "technology",
name = "laser-turret-damage-1",
...
},
{
type = "technology",
name = "laser-turret-damage-2",
...
},
...
Now the bug:
Code: Select all
{
type = "technology",
name = "electric-energy-accumulators-1",
...
}
I know, it's just a small detail... But in 0.17 this gets even worse (refering to the preview image, as shown below). The icons also show the number of upgrade, and for accumulators it also shows the '1', but it has no extra updates...
Thats not all, for other upgrades its not showing the number 1 as its not defined in the prototype name:
Code: Select all
{
type = "technology",
name = "automation",
...
},
...
So in my oppinion the upgrade parameter of the prototypes aren't working as (as I think) there should. On the other hand with 0.17 in the background I would suggest renaming following prototypes to add the '-1' in the name:
- military
- automation
- logistics
- advanced-material-processing
And as last a fix on the upgrade attribute of the technology prototype to take effect in the localized naming of technologies.
I know it's not a big issue, but then, isn't 0.17 about perfection for 0.1.0 release?
Kind regards,
lovely_santa