Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: Suggestion
Home

[Freeciv-Dev] Re: Suggestion

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Suggestion
From: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: 09 Jan 2001 13:03:13 +0100

Greg Wooledge <greg@xxxxxxxxxxxx> writes:

> Mikael Argelius (miar4095@xxxxxxxxxxxxxxx) wrote:
> 
> > Maybe if you had road/railroad connecting cities there
> > would be less corruption.
> 
> Civ:CTP does something like this.  The distance from a city to the
> capital is calculated taking roads and waterways into account
> (somehow), so that building roads decreases your
> distance-from-capital unhappiness.
> 
> A possible implementation could be done using the Goto code.
> Calculate the number of turns it would take for a hypothetical unit
> to travel from the capital to each of your cities (you'll have to do
> some fudging if you go across an ocean) and use that for the
> distance when calculating corruption.

This should be doable. It would take building one warmap per
civilization per turn. I'll probably try to implement this.

BTW I think the corruption decrease shouldn't be tied to the "palace",
but instead be a building flag. Is this currently possible with
buildings.ruleset?

        Falk




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