Kailric
Jack of All Trades
That's a cool feature just like good ol Civ4
See, Gundobad isnt so bad after all. He's impressionable, indulgent and cautious as well as appalled
I guess that could also be used for certain Techs or Censures. Ie being Excommunicated makes rivals hate you till you get it lifted, and there could be certain Techs the Pope or others disapprove of getting, or Enlightenment techs that help your relations. In Civ4 BtS IIRC a tech diplo effect made everyone not want to attack civs with nuclear weapons.
BTW do you know how many total "steps" / points there are on the diplomacy scale from Furious to Pleased? There are only 4 or 5 different texts for it but I'm hoping its more of a range than that.
At the moment Civics and Techs have two separate checks, so I need to combine them into one, so that they can be checked all at once. As of now this effect only checks for Civics, I'll update it to check for all and all future additions will check for both. Civics are checked with the isCivic() function, I'll edit that to check for techs as well.
Here is the code for the "steps" from Furious to Pleased.
Code:
AttitudeTypes CvPlayerAI::AI_getAttitude(int iAttitudeVal)
{
if (iAttitudeVal >= 10)
{
return ATTITUDE_FRIENDLY;
}
else if (iAttitudeVal >= 3)
{
return ATTITUDE_PLEASED;
}
else if (iAttitudeVal <= -10)
{
return ATTITUDE_FURIOUS;
}
else if (iAttitudeVal <= -3)
{
return ATTITUDE_ANNOYED;
}
else
{
return ATTITUDE_CAUTIOUS;
}
}