(PR#10997) AI can sell his last cities

"Mateusz Stefek" <mstefek-IjDXvh/[email protected]> Sat, 13 Nov 2004 06:59:40 -0800
Newsgroups gmane.games.freeciv.ai
Message-ID <[email protected]>
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10997 >

> [[email protected] - Sat Nov 13 13:30:30 2004]:
> 
> On Sat, Nov 13, 2004 at 01:55:00AM -0800, Mateusz Stefek wrote:
> > 
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=10997 >
> > 
> > http://forum.freeciv.org/viewtopic.php?t=486
> > Someone mentioned on the forum that the AI can sell all his cities
> > except capital. This is of course wrong. This patch makes last 8 cities
> > very expensive.
> 
> I don't like funktions like that, wouldn't it be better when the price
> for a city would depend on the size of the map(in max numbers of cities
> are possible)? And additional how much percent of the empire from the ai
> it is?
> 
> Thomas
Considering map size is a good idea - you are right.

There's a problem with including the percent of the empire in
calculations. I want to avoid situation when buying cities in two steps
is more/less profitable than buing it in a single step.
Is there a good formula for that?
--
mateusz