fire-eggs / CivOne

An open source implementation of Sid Meier's Civilization 1 using C# and .NET.
Creative Commons Zero v1.0 Universal
21 stars 4 forks source link

Road / Railroad cost not accounting for terrain #156

Closed fire-eggs closed 3 years ago

fire-eggs commented 3 years ago

SWY1985's code fails to take the terrain into account when building roads.

Plain / Grass / Desert : 2 turns Hills : 3 turns Swamp : 4? turns Arctic : ? Tundra : ? Jungle : 3 turns Mountains : 6 turns Ocean : ? River : ?

A similar issue exists for Railroads. I.e. the cost to build a Railroad on mountains is probably 12 turns.

axx0 commented 3 years ago

From what I've researched, the no. of turns are:

(If you order building road on grassland, it will be built the next turn, but the settler won't be active until turn=2)

fire-eggs commented 3 years ago

Thanks, that helps - now I don't have to count turns in Original Civ ! :+1:

fire-eggs commented 3 years ago

From what I've researched, the no. of turns are:

You don't happen to know the cost for fortress / cleaning pollution, do you? Thanx!

fire-eggs commented 3 years ago

Added for roads/railroads.

axx0 commented 3 years ago

From what I've researched, the no. of turns are:

You don't happen to know the cost for fortress / cleaning pollution, do you? Thanx!

3 turns for pollution, 36 for fortress (yes 36, regardless of terrain).

fire-eggs commented 3 years ago

Great! Thanks much!