]> git.pond.sub.org Git - empserver/blob - info/power.t
Update for current code.
[empserver] / info / power.t
1 .TH Command POWER
2 .NA power "Display arbitrarily measured strengths of 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 generate a new power report based on up-to-date
19 information.
20 This costs 10 BTUs.
21 .s1
22 If the optional \*Qnew\*U argument is not given,
23 the program will show 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 given for those particular countries.
28 .s1
29 In the power report the countries are listed
30 in order of decreasing \*Qpower factor\*U.
31 Powerless countries are not shown unless explicitly requested with the
32 \*Qcountry\*U argument.
33 .s1
34 The power report shows the following columns:
35 .s1
36 .in \w'money\0\0'u
37 .L sects
38 number of sectors
39 .L eff
40 average sector efficiency
41 .L civ
42 number of civilians
43 .L mil
44 number of military
45 .L shell
46 number of shells
47 .L gun
48 number of guns
49 .L pet
50 amount of petrol
51 .L iron
52 amount of iron
53 .L dust
54 amount of dust
55 .L oil
56 amount of oil
57 .L pln
58 number of planes
59 .L ship
60 number of ships
61 .L unit
62 number of land units
63 .L money
64 cash on hand
65 .in
66 .s1
67 The \*Qpower factor\*U is determined by the following equation:
68 .s1
69 .NF
70 power factor = for each land unit calculate and add the following
71                 ((((land unit lcm cost / 10) * (land unit effic / 100)) +
72                   ((land unit hcm cost / 10) * (land unit effic / 100))) * 2)
73 power factor += for each ship calculate and add the following:
74                 ((((ship lcm cost / 10) * (ship effic / 100)) +
75                   ((ship hcm cost / 10) * (ship effic / 100))) * 2)
76 power factor += for each plane calculate and add the following:
77                 (20 * (plane effic / 100) * (nation tech level / 500))
78 power factor += ((nation money / 100) + (petrol / 500) +
79                  ((civilians + military) / 10) + (shells / 12.5) +
80                  (iron / 100) + (dust / 5) + (oil / 10) + bars +
81                  (guns / 2.5) + (lcms / 10) + (hcms / 5))
82 power factor += ((number of sectors * (average sector effic / 100)) * 10)
83 power factor = ((power factor) * (nation tech level / 500))
84 power factor = ((power factor) * (research factor))
85 .FI
86 .s1
87 The research factor is either 1, if RES_POP is not being used, or 1+(max 
88 pop in a sector)/10000, if it is being used.
89 .s1
90 .SA "census, nation, Communication, Nations, Diplomacy"