(PR#10110) AI underestimates Temples
"Mateusz Stefek" <mstefek-IjDXvh/[email protected]>
| Newsgroups | gmane.games.freeciv.ai |
|---|---|
| Message-ID | <[email protected]> |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10110 >
> [mstefek - Tue Sep 14 21:39:27 2004]:
>
> 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;
> }
>
Are elvises also counted as unhappy?
If not, they should be considered in this evaluation.
--
mateusz