AI "-3 You did something that annoys me"

Joined
Oct 26, 2005
Messages
4,882
Location
Kansas City, MO
Where can I find the modifiers like the one in the title at in the code? I have been looking all over and can't find it again. I found it like 3-4 months ago and thought "I need to remember this" instead of writing it down like a big dummy. Anyone able to lend me a hand?
 
The big text box with that info is generated by the function CvGameTextMgr::getAttitudeString in CvGameTextMgr.cpp. It's filled with calls to the various visible diplo modifiers such as CvPlayerAI::AI_getCloseBordersAttitude which are generally defined in CvPlayerAI.cpp. The latter file also has the AI_getAttitudeVal function that calculates the true numerical attitude.
 
Back
Top Bottom