1 .TH Concept Update-sequence
2 .NA Update-sequence "The order of events at the update"
5 This document gives a rough order of events during the update.
10 a) pay military on board
13 c) prepare all land units
14 a) pay military on board
15 d) prepare all sectors
16 a) fallout is checked, if FALLOUT is defined
17 b) guerrilla warfare is checked
18 c) if the sector doesn't have the plague, see if it
20 otherwise plague the people
21 d) if there are no civs or mil in the sector, it
23 e) taxes are collected from civs & uws; mil are paid.
24 f) if the sector is a bank it makes $$ proportional to
26 e) pay for military reserves.
29 a) ship maintenance, in order of ship number
30 pay maintenance, then feed and plague people on board
31 b) plane maintenance, in order of plane number
32 c) land unit maintenance, in order of land unit number
33 pay maintenance, then feed and plague people on board
34 d) sectors, top to bottom, left to right
35 a) people in non-sanctuary sectors eat
36 If not enough is available, the excess people will
37 starve off. No more than 50% of the people
38 in a sector can die; the uw's die first, then
39 the civs, then the mil.
40 b) if there was starvation, the work percentage is set
41 to 0, otherwise the work rate rises by
43 c) population grows and is truncated
44 d) pay sector maintenance
45 e) sectors that are stopped are skipped (see info stop)
48 d) ship building, in order of ship number
49 first increase efficiency, then produce
50 stopped ships are started, but not built (see info stop)
51 e) plane building, in order of plane number
52 stopped planes are started, but not built (see info stop)
53 f) land unit building, in order of land unit number
54 stopped land units are started, but not built (see info stop)
56 3) Then, do deliveries for all sectors in the world, row by row, going from
57 top to bottom, left to right
59 4) Then, do exporting via distribution for all sectors in the world, row by
60 row, going from top to bottom, left to right
62 5) Then, do importing via distribution for all sectors in the world, row by
63 row, going from top to bottom, left to right
64 Also start sectors that are stopped
66 6) modify tech/res/hap/edu levels & do tech bleed
67 7) decrease levels due to passing of time
68 8) update war declarations (for slow war)
70 9) If MOB_ACCESS is not enabled, mobility is updated as follows:
71 a) Add mobility to ships
72 b) Add mobility to sectors
73 c) Add mobility to planes
74 d) Add mobility to land units
77 .SA "Innards, Updates"