Skip to content

Commit

Permalink
Rewrote CvCityAI::AI_getYieldMultipliers; fixed a food scaling problem.
Browse files Browse the repository at this point in the history
The new version of AI_getYieldMultipliers is similar to old, but it is a
bit simplier, it includes a few flavour adjustments; but most
importantly, the food value multiplier now scales up as other yields
become more valued. This is to avoid the problem where production can
end up being worth more than the food that is necessary to work the
production.

Some other related CvCityAI functions have been tweaked to be consistent
with the new version of AI_getYieldMultipliers.
  • Loading branch information
karadoc committed Aug 5, 2012
1 parent 26754a4 commit 8be9088
Showing 1 changed file with 167 additions and 367 deletions.

0 comments on commit 8be9088

Please sign in to comment.