1.36.0.20200 More than 1 Tech Requirement Broken

Using multiple integers for Techtree Requirements is now broken/bugged.

Previously, you could set multiple techtree requirements levels.
Like:
Techtree - Requirements: Iron Forged Swords, Black Gunpowder
Techtree - Requirement - Levels: 2,1

Now if you put multiple integers in Requirement - Levels like it will ONLY consider the first requirement. Though it falsely lists the other requirements in the tooltip, the tech gets unlocked once the first Requirement is met.

  • If you put it no integers at all, Requirements will be considered properly (with a Required Level of 1 applying to all Requirements).
  • If you put in a single integer, it will apply to all Tech Requirements listed.

This is a problem as many strategy maps use tech trees that utilize this.


Visual:
https://i.imgur.com/QT8NzLl.png

Reproduction:

  1. Select footman in the editor
  2. Go down to techtree - Requirements
  3. Add Iron swords and Black Gunpowder
  4. Go down to techtree - Levels
  5. Add 2 and then add 1 in a new entry

Current behavior: Now go in game and research a single one of the upgrades the unit requires, you will be able to build it before you have researched both.

Expected behavior: It should not allow you to build the unit until both researches at the specified level have been researched.

1 Like