]> git.pond.sub.org Git - empserver/blob - info/power.t
info/power: Fix commodity power formula
[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 .s1
8 Normally, the last saved power report is shown.
9 The optional arguments \*Qnew\*U and \*Qupdate\*U request a new power
10 report based on up-to-date information.
11 This costs 10 BTUs.
12 The new report is saved for use by future power commands, except when
13 a deity uses \*Qupdate\*U.  This lets deities examine up-to-date power
14 reports without affecting what players get to see.
15 .s1
16 If option AUTO_POWER is enabled, the command doesn't let you save new
17 power reports.  Instead, the power report is updated automatically
18 right before the update.
19 .s1
20 If the optional \*QNUM\*U argument is given, only the
21 top NUM entries in the power chart will be displayed.  Note that for
22 deities, if you give a negative number, only the top NUM entries in
23 the power chart will be displayed, and the power number rating will
24 not be displayed.
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 = (  power value of money
71                 + power value of sectors
72                 + power value of commodities in sectors
73                 + power value of commodities loaded on ships and land units)
74                * (20 + nation tech level) / 500
75              + power value of ships, planes, land units and nukes
76                * (20 + their tech level) / 500
77 .FI
78 .s1
79 The power value of money is dollars / 100.
80 .s1
81 The power value of a sector is (the power value of the materials and
82 money needed to build + maximum population / 1000 * 8 + 1) *
83 efficiency / 100.
84 .s1
85 The power value of a ship, plane, land unit or nuke is the power value
86 of the materials and money needed to build * efficiency / 100.
87 .s1
88 The power value of commodities is amount * type factor / 1000.
89 \*Qshow item\*U shows the type factor in column \*Qpower\*U.
90 .s1
91 Efficiency is in percent.
92 .s1
93 .SA "census, nation, Communication, Nations, Diplomacy"