]> git.pond.sub.org Git - empserver/blob - info/power.t
(info, html): Implement.
[empserver] / info / power.t
1 .TH Command POWER
2 .NA power "Display arbitrarily measured strengths of all countries"
3 .LV Basic
4 .SY "power [num]"
5 .SY "power new [num]"
6 .SY "power country <NATS>"
7 The power report provides one view of national strengths.
8 It can be particularly helpful in planning defense strategies
9 and treaty voting.
10 .s1
11 If the optional \*Qnum\*U argument is given, only the
12 top num entries in the power chart will be displayed.  Note that for
13 deities, if you give a negative number, only the top num entries in
14 the power chart will be displayed, and the power number rating will
15 not be displayed.
16 .s1
17 If the optional \*Qnew\*U argument is given,
18 the program will take several minutes to gather information
19 and generate a power report based on that up-to-date information.
20 This costs several BTU's (typically 10).
21 .s1
22 If the optional \*Qnew\*U argument is not given,
23 the program will shown you the report generated
24 the last time someone asked for new data.
25 .s1
26 If the optional \*Qcountry\*U argument is given, then the information
27 is only given for those particular countries.  Countries are
28 separated by the "/" character as in:
29 .EX power c Fodder/19/Mirky
30 Note that countries may be specified as either names or numbers.
31 .s1
32 In the power report the countries are listed
33 in order of decreasing \*Qpower factor\*U,
34 each being represented by a line in the following format:
35 .s1
36 .NF
37 sects  eff civ  mil  shell gun pet  iron dust oil  pln ship unit money
38 .FI
39
40 Each column represents a different commodity or aspect for that country.
41 The columns and values used in computing the \*Qpower factor\*U are:
42 .NF
43 a       # of sectors
44 b       average sector efficiency
45 c       # of civilians
46 d       # of military
47 e       # of shells
48 f       # of guns
49 h       tons of iron ore (not displayed)
50 i       tons of gold dust
51 j       # of gold bars
52 k       tons of food (not displayed)
53 l       tanks of oil
54 g       # of planes
55 m       # of ships
56 mm      tons of ships (not displayed)
57 r       # of land units
58 n       # of dollars
59 oo      units of light construction materials (not displayed)
60 pp      units of heavy construction materials (not displayed)
61 qq      megatons of nuclear weaponry (not displayed)
62 bb      gold bars
63 .FI
64 .s1
65 The \*Qpower factor\*U is determined by the following equation:
66 .s1
67 .NF
68 power factor = for each land unit calculate and add the following
69                 ((((land unit lcm cost / 10) * (land unit effic / 100)) +
70                   ((land unit hcm cost / 10) * (land unit effic / 100))) * 2)
71 power factor += for each ship calculate and add the following:
72                 ((((ship lcm cost / 10) * (ship effic / 100)) +
73                   ((ship hcm cost / 10) * (ship effic / 100))) * 2)
74 power factor += for each plane calculate and add the following:
75                 (20 * (plane effic / 100) * (nation tech level / 500))
76 power factor += ((nation money / 100) + (petrol / 500) +
77                  ((civilians + military) / 10) + (shells / 12.5) +
78                  (iron / 100) + (dust / 5) + (oil / 10) + bars +
79                  (guns / 2.5) + (lcms / 10) + (hcms / 5))
80 power factor += ((number of sectors * (average sector effic / 100)) * 10)
81 power factor = ((power factor) * (nation tech level / 500))
82 power factor = ((power factor) * (research factor))
83
84 .FI
85 .s1
86 The research factor is either 1, if RES_POP is not being used, or 1+(max 
87 pop in a sector)/10000, if it is being used.
88 .s1
89 .SA "census, nation, Communication, Nations, Diplomacy"