One line summary of your issue
The AI will never pick the Forge Bloodline ambition
Game Version
3.2.1 (AZCE)
What expansions do you have installed?
All of the above
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
The AI will never pick the Forge Bloodline ambition (obj_forge_bloodline) because a chance modifier is written incorrectly. At lines 280-289 in the file common\objectives\00_HF_ambitions.txt we find:
The NOT should not be there, as it currently sets the chance to 0 for any character who is not the founder of a bloodline.
As the comment makes clear, the intent is the opposite. To prevent founders of bloodlines from creating bloodlines the NOT block should be removed, as it currently sets the chance to 0 for anyone who is not the founder of a bloodline rather than for those who are.
In addition, those AI characters cannot pick the ambition anyway as part of the potential block (lines 218-223) is:
Together these two ensure that the AI can never pick the Forge Bloodline ambition. The second part appears to be WAI, but the first part is clearly, as the comment shows, a bug.
With this in mind it might make more sense to remove the chance modifier on top of this post altogether. The second piece of script I mention rules out the AI with historical bloodlines from picking the ambition altogether, so a chance modifier of 0 for founders of historical bloodlines is not necessary.
A screenshot of the relevant script is attached.
Steps to reproduce the issue.
The issue is always present in the game files and applies to all AI characters.
Upload Attachment
The AI will never pick the Forge Bloodline ambition
Game Version
3.2.1 (AZCE)
What expansions do you have installed?
All of the above
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
The AI will never pick the Forge Bloodline ambition (obj_forge_bloodline) because a chance modifier is written incorrectly. At lines 280-289 in the file common\objectives\00_HF_ambitions.txt we find:
Code:
modifier = {
factor = 0
NOT = {
any_owned_bloodline = { #Founders of historical Bloodlines tend to spawn with enough prestige and troops to have an easy time achieving this ambition. Fine for the player, but the AI should not do it.
founder = {
character = ROOT
}
}
}
}
The NOT should not be there, as it currently sets the chance to 0 for any character who is not the founder of a bloodline.
As the comment makes clear, the intent is the opposite. To prevent founders of bloodlines from creating bloodlines the NOT block should be removed, as it currently sets the chance to 0 for anyone who is not the founder of a bloodline rather than for those who are.
In addition, those AI characters cannot pick the ambition anyway as part of the potential block (lines 218-223) is:
Code:
NAND = { # The AI shouldn't create bloodlines when they already have a historical one
ai = yes
any_owned_bloodline = {
has_bloodline_flag = historical_bloodline
}
}
Together these two ensure that the AI can never pick the Forge Bloodline ambition. The second part appears to be WAI, but the first part is clearly, as the comment shows, a bug.
With this in mind it might make more sense to remove the chance modifier on top of this post altogether. The second piece of script I mention rules out the AI with historical bloodlines from picking the ambition altogether, so a chance modifier of 0 for founders of historical bloodlines is not necessary.
A screenshot of the relevant script is attached.
Steps to reproduce the issue.
The issue is always present in the game files and applies to all AI characters.
Upload Attachment
Attachments
Last edited:
Upvote
0