TetraspaceW / VanDNationGame

Zoom in, zoom out.
4 stars 2 forks source link

Use local year for turn counter #75

Open TetraspaceW opened 1 year ago

TetraspaceW commented 1 year ago

During planet generation, the mass of the star and orbital distance of the planet are calculated, so the duration of its year is known. Calculate this for the starting planet (e.g. by storing it in a property of the terrain) and then use it for the displayed year in the turn counter by dividing the turn number by the length of the local year.