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

[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: Wed, 15 Sep 2004 01:23:47 -0700
Reply-to: rt@xxxxxxxxxxx

<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



[Prev in Thread] Current Thread [Next in Thread]