AI ignores Prerequisite.Negative tag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ares |
In Progress
|
Low
|
Unassigned |
Bug Description
Ares version: 0.1.1169
O.S.: Windows 7 Professional, 64 bits
I made 4 Super Weapons for one side but I wanted to force to choose 2 SW & forget the other 2 SW using Prerequisite.
;;;;; Group 1 of SW
[ngkanepyra]
Prerequisite=
Prerequisite.
SuperWeapon=
SuperWeapon2=
TechLevel=10
AIBuildThis=yes
...
;;;;; Group 2 of SW
[TSNAMISL]
Prerequisite=
Prerequisite.
SuperWeapon=
SuperWeapon2=
TechLevel=10
AIBuildThis=yes
...
[TSNAWAST]
Prerequisite=
Prerequisite.
TechLevel=10
AIBuildThis=yes
...
When [ngkanepyra] building is built [TSNAMISL] & [TSNAWAST] buildings are unbuildable and when [TSNAMISL] &/or [TSNAWAST] is built [ngkanepyra] is unbuildable.
The problem is that AI will ignore Prerequisite.
Changed in ares: | |
importance: | Undecided → Low |
I'm pretty sure there are other prerequisite checks the AI happily bypasses in its base planning. There's an experimental branch ft-ai-base-planning to improve that, but it's not scheduled to be included in 0.2 .