[Freeciv-Dev] Re: Suggestion
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|