Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2000:
[Freeciv-Dev] Re: Unit upkeep and capitalisation
Home

[Freeciv-Dev] Re: Unit upkeep and capitalisation

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Robert Rendell <rob@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cc: Freeciv dev list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Unit upkeep and capitalisation
From: Tony Stuckey <stuckey@xxxxxxxxxxxxxxxxx>
Date: Wed, 31 May 2000 12:57:41 -0500

On Wed, May 31, 2000 at 04:30:17PM +1000, Robert Rendell wrote:
> I was just testing some changes I'd made, and discovered some behaviour I'm
> not sure is right...  if a city has a negative shield surplus, supported
> units are disbanded to put it back in the black again.  However, this
> happens even if you have resources stockpiled... is this the same behaviour
> as the original game?  I thought resources were removed from the stockpile
> if you went negative, and units were only disbanded if the stockpile ran
> out.

        This is the same behavior as Civ2.  Whether it's the same behavior
as Civ1 or not, I can't check right now.
        Page 52 of the Civ2 manual:
        "If your city runs short of the raw materials it requires each
turn, one or more units (that it supports) are forced to disband.  The
units farthest from home are disbanded first."

        That "each turn" is the implication that the stockpile does not
matter.

> Also, the civ manual says that when units cannot be supported by a city,
> they are disbanded "beginning with the unit farthest from the city".  The
> current freeciv implementation just works through the unit list in order,
> without checking distance.

        That would be a compliance bug, then.
-- 
Anthony J. Stuckey                              stuckey@xxxxxxxxxxxxxxxxx
"And they said work hard, and die suddenly, because it's fun."
        -Robyn Hitchcock.



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