• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Pang Bingxun

Field Marshal
2 Badges
Nov 22, 2011
5.596
186
  • Arsenal of Democracy
  • 500k Club
When the human player adds a new production line of a division type to the production queue a name is given to it. That looks like
Code:
division_development = {
     id = { type = 4712 id = 431116 }
     name = "No.207 RAF Fighter Group"
     progress = 2.0000
     location = 19
     cost = 8.1600
 [...]

in the savegame. While more than one unit is still left to be done the name is not displayed in the game, but that is of no importance. When the current unit is finished the name is given to the new division and if more units are left to be done a new name is assigned to the production line. So far so good.

When AI adds a production line of lenght 1 to the production queue it works the same and sometimes AI increases the lenght of a production line.

But when AI adds a production line of lenght >1 to the production queue no name is given to it. The entry will be empty:

Code:
    name = ""

Once the first unit of the production line is done the first unassigned name is given to the production line and the just finished unit. That will result in 2 divisions having the same name. Always assigning a name to a new production line of a division type should solve this minor problem.
 
Upvote 0