Complete.Org: Mailing Lists: Archives: freeciv-ai: September 2004:
[freeciv-ai] (PR#10110) AI underestimates Temples

[freeciv-ai] (PR#10110) AI underestimates Temples

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [freeciv-ai] (PR#10110) AI underestimates Temples
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Tue, 14 Sep 2004 14:39:28 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: >

I got this feeling by watching a game where AI was building Granaries
and Aqueducts in cities of size 5, but it never builded a Temple.
Looking at the AI code I'm conviced that something is wrong:
          case EFT_MAKE_CONTENT:
            if (!government_has_flag(gov, G_NO_UNHAPPY_CITIZENS)) {
              v += pcity->ppl_unhappy[0] * amount;
              v += amount * c;

          case EFT_GROWTH_FOOD:
            v += c * 4 + 25;

[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] (PR#10110) AI underestimates Temples, Mateusz Stefek <=