# cityrules.tab
#
# City building rules (new fashion)
#
# author: Hj. Malthaner <hansjoerg.malthaner@gmx.de>
# 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

# chance for renovation versus new building (bigger number => less sprawling)
renovation_percentage = 12

# citys will not growth further along exiting roads, if the buildings density is lower (in percent)
minimum_building_desity = 33

# 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 = 0
res_near_res = 8

# everywhere is good, next to com best
com_start_score = -10
com_near_ind = 1
com_near_com = 8
com_near_res = 1

# next to res means expensive filters and no truck after 10 pm => avoid this ...
ind_start_score = 0
ind_near_ind = 8
ind_near_com = 0
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
# T = not a stop	// added in 88.03.3

# t = is a stop // added in 88.03.
# U = allowed slope for roads

# u = forbidden slope for roads

# . = anything matches
# SPACE = next row
#
# Each row must have EXACTLY the same number of members!
#


# Haus am Strassenrand
house_1 = ... Hn. sss
house_1.chance = -2

# Haus am Strassenrand
house_2 = ... .nH sss
house_2.chance = -2

# Haus an der Ecke (too fast following diagonals)
#house_3 = ... .ns .ss
#house_3.chance = -7

# Haus an der Ecke (too fast following diagonals)
#house_4 = ... sn. ss.
#house_4.chance = -7

# fehlendes Haus an der Ecke
house_3 = ... hns .ss
house_3.chance = -7

# fehlendes Haus an der Ecke
house_4 = ... snh ss.
house_4.chance = -7

# fehlendes Haus vom Block
house_5 = .h. hns .sH
house_5.chance = -7

# fehlendes Haus vom Block
house_6 = .h. snh Hs.
house_6.chance = -7

# Haus "mittendrin"
house_7 = .h. hnh .s.
house_7.chance = -7

# House in an empty area in between houses
house_8 = hhh hnh ...
house_8.chance = -7

# House in an empty area in between houses
house_9 = ... hnh ...
house_9.chance = -7

# House in an empty area in between houses
house_10 = ... snh ...
house_10.chance = -7

# House in curve hole
house_11 = hsh Hss HhH
house_11.chance = -7

# House on other road side
house_12 = sss nnn ...
house_12.chance = -7


# Strassenende weiterbauen
road_1 = .H. SnS .sS
road_1.chance = 8

# Strassenende weiterbauen
road_2 = .H. .n. SsS
road_2.chance = 4

# Strassenende weiterbauen
road_3 = ... SnS SsS
road_3.chance = -2

# Lücke schließen
road_4 = .h. hns .sh
road_4.chance = 2

# Lücke schließen
road_5 = .h. snh hs.
road_5.chance = 2

# Einmuendung in Natur
road_6 = .H. nnn sss
road_6.chance = 3

# Einmuendung in Natur
road_7 = SHS nnn sss
road_7.chance = -1

# Einmuendung zwischen 2 Häusern
road_8 = .H. hnh sss
road_8.chance = -5

