Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] (PR#7250) auto-settlers won't build mines over irrigation
Home

[Freeciv-Dev] (PR#7250) auto-settlers won't build mines over irrigation

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7250) auto-settlers won't build mines over irrigation
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Jan 2004 19:14:27 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7250 >

In the auto-settler code there's a check to see if there's already a 
conflicting improvement.  If so, no new improvement will be built.

But this is bad.  Say I transform my irrigated grassland into a hills. 
I want my settlers to build a mine on it.  The settlers should take into 
account the overall effect of the mining (-1 to food, +3 to shields) and 
count that against the cost of building the improvement.  I think this 
part is already done.

Changes are needed in ai_calc_irrigation and ai_calc_mine in 
server/settlers.c.

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#7250) auto-settlers won't build mines over irrigation, Jason Short <=