(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 >

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.