TownZones

From GRFSpecs

Jump to: navigation, search

Introduction

Town zones are concentric rings around the centre of each town. A town can have up to five town zones where zone 0 is the outer most zone and the zone with the highest number the inner most. Not all zones need to be present.

Houses, industries, and alike can query the town zone via VarAction2.

Description

The extend of the town zones varies by the number of houses a town consists of, the available and the position of the individual town zones thus change as a town grows:

#Houses Zone 0 Zone 1 Zone 2 Zone 3 Zone 4
0 2
4 4
8 5
12 6
16 7 2
20 8 2
24 8 3 1
28 8 3 2
32 8 4 2
36 9 4 2
40 9 4 2
44 9 5 3
48 965 3
52 9654 3
56 97 5 3
60 98 5 3
64 98 6 3
68 98 64
72108 74
76108 75
80118 75
84119 75
88119 76
>=92 sqrt(n/8*15 40) sqrt(n/8*9 15) sqrt(n/8*5 5) sqrt(n/8*3 + 5)

where n is the number of houses within the town.

Personal tools
advertisement