# cityrules.tab # # City building rules (new fashion) # # author: Hj. Malthaner # date: 25-Nov-03 # update: 22-Aug-04 # update: 5-Jan-05 # how far cities should be minimum apart (default 16) minimum_city_distance = 32 # at which number of inhabitants we need a new market? industry_increase_every = 2000 # # relative affinities for certain building types which can lead to clustering of certain building types # # avoid building next to industry res_start_score = 0 res_near_ind = -8 res_near_com = 4 res_near_res = 8 # everywhere is good, next to com best com_start_score = -10 com_near_ind = 4 com_near_com = 8 com_near_res = 4 # next to res means expensive filters and no truck after 10 pm => avoid this ... ind_start_score = -5 ind_near_ind = 8 ind_near_com = -2 ind_near_res = -8 # # now the actual building rules. They can be up to 7x7. # allowed sizes are 3x3 5x5 and 7x7! # # # Symbols in rules: # S = must not be road # s = must be road # n = must be bare land # H = must not be house # h = must be house # . = anything matches # SPACE = next row # # Each row must have EXACTLY the same number of members! # # Haus an Strassenecke. house_1 = ... .ns .ss house_1.chance = 13 house_2 = ... hnh ... house_2.chance = 13 # Haus in mitte 3er Zelle house_3 = ..... ..... ..nhs ..h.. ..s.. house_3.chance = 43 house_4 = ..... ..... ..nhs. ..s.. ..... house_4.chance = 43 house_5 = SSSSS SSSSS SSnSS sssss ..... house_5.chance = 193 house_6 = SSSSS SSSSS SSnSh sssss ..... house_6.chance = -8 # Strassenende weiterbauen. road_1 = ....... ...H... ..SHS.. ..SnS.. ...s... ...s... ....... road_1.chance = 193 # Strassenende weiterbauen. road_2 = ....... ...H... ...H... SSSnSSS ...s... ...s... ....... road_2.chance = -8 # Abzweigen oder weiterbauen. road_3 = ....... ...H... ...H... SSSnSSS ...s... ....... ....... road_3.chance = 43 # Verbinden, gerade. road_4 = SsS .n. SsS road_4.chance = -8 # 2er Zelle bilden. road_5 = ....... ....... ....... shhnhS. ...s... ....... ....... road_5.chance = 13 # 2er Zelle bilden. road_6 = ....... ....... ....... .Shnhhs ...s... ....... ....... road_6.chance = 13 # Ecke schliessen. road_7 = S.S Sns SsS road_7.chance = -8 # Verbinden, gerade. road_8 = ....... ...s... ...H... .SSnSS. ...s... ....... ....... road_8.chance = -8 # Verbinden, schräg. road_9 = ....... ....s.. ...H... .SSnSS. ...s... ....... ....... road_9.chance = -8 # Verbinden, schräg. road_10 = ....... ..s.... ...H... .SSnSS. ...s... ....... ....... road_10.chance = -8 # Verbinden, schräg. road_11 = SHs SnS SsS road_11.chance = -8 # Verbinden, schräg. road_12 = sHS SnS SsS road_12.chance = -8 # Zwischen zwei Häusern. road_13 = ... hnh .s. road_13.chance = 93 # Verbinden, gerade. road_14 = .s. SnS .s. road_14.chance = -8 # Verbinden, ecke 2. road_15 = .sS Sns .S. road_15.chance = -8 # Verbinden, ecke 2. road_16 = Ss. snS .S. road_16.chance = -8 # Entlang Hang bauen road_17 = ... UnS us. road_17.chance = -8 # Entlang Hang bauen road_18 = ... SnU .su road_18.chance = -8