]> git.pond.sub.org Git - empserver/blob - info/power.t
New option AUTO_POWER; closes #1009993:
[empserver] / info / power.t
1 .TH Command POWER
2 .NA power "Display arbitrarily measured strengths of countries"
3 .LV Basic
4 .SY "power [new|update] [<NUM>|country <NATS>]"
5 The power report provides one view of national strengths.
6 It can be particularly helpful in planning defense strategies
7 and treaty voting.
8 .s1
9 Normally, the last saved power report is shown.
10 The optional arguments \*Qnew\*U and \*Qupdate\*U request a new power
11 report based on up-to-date information.
12 This costs 10 BTUs.
13 The new report is saved for use by future power commands, except when
14 a deity uses \*Qupdate\*U.  This lets deities examine up-to-date power
15 reports without affecting what players get to see.
16 .s1
17 If option AUTO_POWER is enabled, the command doesn't let you save new
18 power reports.  Instead, the power report is updated automatically
19 right before the update.
20 .s1
21 If the optional \*QNUM\*U argument is given, only the
22 top NUM entries in the power chart will be displayed.  Note that for
23 deities, if you give a negative number, only the top NUM entries in
24 the power chart will be displayed, and the power number rating will
25 not be displayed.
26 .s1
27 If the optional \*Qcountry\*U argument is given, then the information
28 is given for those particular countries.
29 .s1
30 In the power report the countries are listed
31 in order of decreasing \*Qpower factor\*U.
32 Powerless countries are not shown unless explicitly requested with the
33 \*Qcountry\*U argument.
34 .s1
35 The power report shows the following columns:
36 .s1
37 .in \w'money\0\0'u
38 .L sects
39 number of sectors
40 .L eff
41 average sector efficiency
42 .L civ
43 number of civilians
44 .L mil
45 number of military
46 .L shell
47 number of shells
48 .L gun
49 number of guns
50 .L pet
51 amount of petrol
52 .L iron
53 amount of iron
54 .L dust
55 amount of dust
56 .L oil
57 amount of oil
58 .L pln
59 number of planes
60 .L ship
61 number of ships
62 .L unit
63 number of land units
64 .L money
65 cash on hand
66 .in
67 .s1
68 The \*Qpower factor\*U is determined by the following equation:
69 .s1
70 .NF
71 power factor = for each land unit calculate and add the following
72                 ((((land unit lcm cost / 10) * (land unit effic / 100)) +
73                   ((land unit hcm cost / 10) * (land unit effic / 100))) * 2)
74 power factor += for each ship calculate and add the following:
75                 ((((ship lcm cost / 10) * (ship effic / 100)) +
76                   ((ship hcm cost / 10) * (ship effic / 100))) * 2)
77 power factor += for each plane calculate and add the following:
78                 (20 * (plane effic / 100) * (nation tech level / 500))
79 power factor += ((nation money / 100) + (petrol / 500) +
80                  ((civilians + military) / 10) + (shells / 12.5) +
81                  (iron / 100) + (dust / 5) + (oil / 10) + bars +
82                  (guns / 2.5) + (lcms / 10) + (hcms / 5))
83 power factor += ((number of sectors * (average sector effic / 100)) * 10)
84 power factor = ((power factor) * (nation tech level / 500))
85 power factor = ((power factor) * (research factor))
86 .FI
87 .s1
88 The research factor is either 1, if RES_POP is not being used, or 1+(max 
89 pop in a sector)/10000, if it is being used.
90 .s1
91 .SA "census, nation, Communication, Nations, Diplomacy"