]> git.mxchange.org Git - city.git/blob - docs/tasks.txt
Next wave:
[city.git] / docs / tasks.txt
1 The following tasks are used:
2 -----------------------------
3
4  Name             | Done | Description
5 ------------------+------+--------------------------------
6  map_expander     |   0% | Expands the city map if needed
7  household_growth |   0% | Growths a single household
8  building_growth  |   0% | Growths building
9 ------------------+------+--------------------------------
10
11 - - - - -
12
13 Task 'map_expander':
14 --------------------
15
16 The task is responsible for expanding the city map around outer-most zones and
17 roads. It also initializes the map at first startup (if the city has been
18 "founded").
19
20 For doing this, around the outer-most zones/roads the map is expanded for a
21 configurable value (default: 100). After the first road has been constructed,
22 the map is not expanded directly as this would cause permanent expansion of it
23 which leads to more system load.
24
25 Instead, the map is being expanded if the outer-most zone/road has come to
26 close ("city border threashold") to the border (default: 10). If that value
27 has reached or surpassed (to close, e.g. by constructing a long road) the map
28 is expanded (default: 10+100 from outer-most).
29
30 - - - - -
31
32 Task 'household_growth':
33 ------------------------
34
35 The task is responsible for growing all households. The task checks if an empty
36 zone is given and several pre-conditions are met:
37
38 1) A road/path way is nearby (must be given but it will be checked anyway).
39
40 2) The zone is not to small (minimum: 2x1 as 1 square must be given as distance
41    to the road. This however will be pre-checked by the client.
42
43 3) The land value of the resitential zone is not to low (below zero) as this
44    hinders that people move in. Please note that some other zones (e.g.
45    landfills) may reduce land value around them).
46
47 4) The land value is not to high for the citizen (cannot effort to buy the
48    zone).
49
50 5) There is an empty initial "building" (e.g. hut) on the zone or the existing
51    building is a multi-household building and has at least one appartment for
52    sale. Please note that rich people prefer low-density and high land-value
53    zones over high-density zones except it is an expansive multi-household
54    building.
55
56 6) The demand for resitential is not below or zero. Below zero means that
57    people may give up their home (e.g. high taxes). Vacant appartments or
58    buildings are put on sale for the player (for a reduced price).
59
60 The task also checks if an existing household has 2 adults of different gender
61 (1 male, 1 female). Only under this condition reproduction is possible and a
62 3rd person may be added to it (after about 260-280 days). Adoption is not yet
63 simulated and may not be added. Please note that this is a city growth
64 simulation and not a social simulation.
65
66 Simulating reproduction conditions is very complex as it depends on many
67 factors. Both poor and rich people (including "middle rich") are repducing
68 under same conditions for now.
69
70 The task is also responsible for splitting large households (after the child
71 has become adult) into smaller as adult "children" move out. It may happen that
72 from the same "parents" adult "children" are moving into one household as
73 relationships are *NOT* simulated. So even incest is possible and not prevent
74 by the simulation as this is (again) a city growth simulation.
75
76 - - - - -
77
78 Task 'building_growth':
79 -----------------------
80
81 The task is responsible for growing buildings up to maximum size which the
82 current "tech level" and density allows. For constructing a new building some
83 conditions must be met:
84
85 1) A road/path way must be nearby (will be always given but checked anyway).
86
87 2) A zone must have minimum size (2x1, as 1 square is needed for distance to
88    road). This should be pre-checked by the user's client.
89
90 3) No other building is already constructed on the zone, only one building per
91    zone is possible.
92
93 4) The building type depends on "tech level" and density setting of the zone.
94
95 Expansion of an existing building depends on other conditions:
96
97 1) The bulding has not reached maximum size, depending on "tech level" and land
98    value. E.g. rich people will likely build a villa on the zone while poor
99    people may only build a small simple house on it.
100
101 2) Zone density must be high enough to allow more stores being added, this has
102    a maximum depending on "tech level" and land value, see above.
103
104 3) Demand for resitential is high enough, if nothing is demanded, no new
105    buildings are constructed and households are funded or expanded.
106
107 4) A household has 3 or more adult members and they wish to move out.
108
109 [EOF]