]> git.pond.sub.org Git - empserver/blobdiff - info/power.t
m4: Refresh macros from autoconf-archive commit fd1d25c148
[empserver] / info / power.t
index 9ec6dfadd0ee2588a3894f3906c43eb2e98b38f0..71c4003fe07226107667184a128ac939df1456eb 100644 (file)
@@ -3,8 +3,7 @@
 .LV Basic
 .SY "power [new|update] [<NUM>|country <NATS>]"
 The power report provides one view of national strengths.
-It can be particularly helpful in planning defense strategies
-and treaty voting.
+It can be particularly helpful in planning defense strategies.
 .s1
 Normally, the last saved power report is shown.
 The optional arguments \*Qnew\*U and \*Qupdate\*U request a new power
@@ -68,24 +67,27 @@ cash on hand
 The \*Qpower factor\*U is determined by the following equation:
 .s1
 .NF
-power factor = for each land unit calculate and add the following
-                ((((land unit lcm cost / 10) * (land unit effic / 100)) +
-                  ((land unit hcm cost / 10) * (land unit effic / 100))) * 2)
-power factor += for each ship calculate and add the following:
-                ((((ship lcm cost / 10) * (ship effic / 100)) +
-                  ((ship hcm cost / 10) * (ship effic / 100))) * 2)
-power factor += for each plane calculate and add the following:
-                (20 * (plane effic / 100) * (nation tech level / 500))
-power factor += ((nation money / 100) + (petrol / 500) +
-                 ((civilians + military) / 10) + (shells / 12.5) +
-                 (iron / 100) + (dust / 5) + (oil / 10) + bars +
-                 (guns / 2.5) + (lcms / 10) + (hcms / 5))
-power factor += ((number of sectors * (average sector effic / 100)) * 10)
-power factor = ((power factor) * (nation tech level / 500))
-power factor = ((power factor) * (research factor))
+power factor = (  power value of money
+                + power value of sectors
+                + power value of commodities in sectors
+                + power value of commodities loaded on ships and land units)
+               * (20 + nation tech level) / 500
+             + power value of ships, planes, land units and nukes
+               * (20 + their tech level) / 500
 .FI
 .s1
-The research factor is either 1, if RES_POP is not being used, or 1+(max
-pop in a sector)/10000, if it is being used.
+The power value of money is dollars / 100.
+.s1
+The power value of a sector is (the power value of the materials and
+money needed to build + maximum population / 1000 * 8 + 1) *
+efficiency / 100.
+.s1
+The power value of a ship, plane, land unit or nuke is the power value
+of the materials and money needed to build * efficiency / 100.
+.s1
+The power value of commodities is amount * type factor.  \*Qshow
+item\*U shows the type factor in column \*Qpower\*U.
+.s1
+Efficiency is in percent.
 .s1
 .SA "census, nation, Communication, Nations, Diplomacy"