[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: http://rt.freeciv.org/Ticket/Display.html?id=10110 >
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:
Temple:
case EFT_MAKE_CONTENT:
if (!government_has_flag(gov, G_NO_UNHAPPY_CITIZENS)) {
v += pcity->ppl_unhappy[0] * amount;
v += amount * c;
}
Granary:
case EFT_GROWTH_FOOD:
v += c * 4 + 25;
break;
--
mateusz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freeciv-ai] (PR#10110) AI underestimates Temples,
Mateusz Stefek <=
|
|