Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10127) AI does not build either farmland or Supermarke
Home

[Freeciv-Dev] (PR#10127) AI does not build either farmland or Supermarke

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10127) AI does not build either farmland or Supermarket
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 15 Sep 2004 03:25:50 -0700
Reply-to: rt@xxxxxxxxxxx

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

The AI building code checks for the presence of farmland to see if it
should build a Supermarket. The AI terrain improvement code checks for the
presence of a Supermaket to see if it should build a farmland. Not
surprisingly, it ends up never building either farmland or Supermarket.

Both codes use rather general functions to do the checking, so one place
we have to add in some extra code with some wild guesses, perhaps based
on the amount of existing irrigation or the city's need for food or its
production capacity. I am not sure which code should be responsible for
anticipating the actions of the other.

  - Per




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10127) AI does not build either farmland or Supermarket, Per I. Mathisen <=