Complete.Org: Mailing Lists: Archives: freeciv-ai: July 2003:
[freeciv-ai] Re: (PR#4349) New tax code

[freeciv-ai] Re: (PR#4349) New tax code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [freeciv-ai] Re: (PR#4349) New tax code
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sun, 13 Jul 2003 15:33:39 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Sat, 12 Jul 2003, Gregory Berkolaiko wrote:
> The logic of the "if" is flawed. If the current maxbuycost is less than
> the gold we have we won't be able to increase it, no matter buyhowmuch.
> Also, the way maxbuycost is taken into account in the tax code, we don't
> need this "if".


> > > The old code means that a production-1 cannot build itself a defender
> > > unless it's urgent. Nice...
> >
> > This has nothing to do with building, and a prod-1 city can neither build
> > nor upkeep an additional unit anyway.
> But I saw it!!!Cities were buying war units and then disbanding them
> straightaway.

emergency_reallocate_workers() is the likely culprit.

  - Per

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