power: Include nukes in power factor, like other units

Building nukes makes you rate *lower* on the power chart, because the
power factor ignores nukes.  Fix that.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-05-28 07:42:36 +02:00
parent ea5c8a6598
commit 5635fc212f
Notes: Markus Armbruster 2017-08-14 20:31:02 +02:00
Partial fix for bug#133.
2 changed files with 16 additions and 3 deletions

View file

@ -72,7 +72,7 @@ power factor = ( power value of money
+ 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 and land units
+ power value of ships, planes, land units and nukes
* (20 + their tech level) / 500
.FI
.s1
@ -80,8 +80,8 @@ The power value of money is dollars / 100.
.s1
The power value of a sector is efficiency / 10.
.s1
The power value of a ship, plane or land unit is the power value of
the materials and money needed to build * efficiency / 100.
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.