Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2006:
[Freeciv-Dev] Re: [Freeciv] Re: empty treasury and negative income
Home

[Freeciv-Dev] Re: [Freeciv] Re: empty treasury and negative income

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: nicholas.g.lawrence@xxxxxxxxxxxxxxxxxxxx, Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Freeciv] Re: empty treasury and negative income
From: Jason Dorje Short <jdorje@xxxxxxxxxxxx>
Date: Thu, 16 Feb 2006 19:50:17 -0500

nicholas.g.lawrence@xxxxxxxxxxxxxxxxxxxx wrote:

The fix is to split upkeep into two phases. Incomings and Outgoings.

Incomings is where a city earns money (eg trade). Iterate through all
the cities, adding the incomings to the central treasury.

Outgoings is where a city spends money (eg building upkeep). Iterate
through
all the cities, deducting outgoings from the central treasury.

Yes.  There is a huge ticket about end-of-turn ordering in RT.

-jason



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: [Freeciv] Re: empty treasury and negative income, Jason Dorje Short <=