What does <Flavors> mean?

Slobadog

King
Joined
Aug 21, 2006
Messages
711
Location
Pennsylvania, USA
I have a question regarding AI personality modification................

In the XML file CIV4LeaderHeadInfos, what does this mean?


<Flavors>



This below is a more complete example.



<Flavors>
<Flavor>
<FlavorType>FLAVOR_MILITARY</FlavorType>
<iFlavor>5</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<iFlavor>2</iFlavor>
</Flavor>
</Flavors>
 
When trying to decide what to do in certain situations, the Flavors are used to adjust the values of the options - what tech to research, what to build in a city...

For each tech/building/whatever that is available, the Flavor values on the item are multiplied by the coresponding values on the Leader. That value gets added into the calculation to ultimately decide what is going to happen.

In the case of the leader you are looking at, He values Military items highly, and Culture items moderately. For other flavors (economic, science, etc), he places no particular extra value on them.
 
Back
Top Bottom