]> git.pond.sub.org Git - empserver/commitdiff
(powe_cost): Remove powe_cost and replace with a fixed cost of 10.
authorRon Koenderink <rkoenderink@yahoo.ca>
Sat, 4 Feb 2006 19:36:51 +0000 (19:36 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Sat, 4 Feb 2006 19:36:51 +0000 (19:36 +0000)
include/econfig-spec.h
info/power.t
src/lib/commands/powe.c
src/lib/global/constants.c

index 6379b7d51d56189d8a19d8493b0e3c1b6bcf4123..8ef846a59d30b8ffddf0a3cf0ed15857ff188b26 100644 (file)
@@ -203,8 +203,6 @@ EMPCFBOTH("at_least_one_100", at_least_one_100, int, NSC_INT, KM_INTERNAL,
     "Initialize new countries with at least one sector with 100 of all resource")
 EMPCFBOTH("start_cash", start_cash, long, NSC_LONG, 0,
     "Starting cash for new countries")
-EMPCFBOTH("powe_cost", powe_cost, double, NSC_DOUBLE, 0,
-    "Number of BTUs needed to generate a new power report")
 EMPCFBOTH("war_cost", War_Cost, int, NSC_INT, 0,
     "Cost to declare war (if SLOW_WAR is on)")
 
index 590ca6c22b58bd6e996047ea500c1a6772887831..d2c1319cc5cd98d8f82c65d2650e4b98e0caf2c0 100644 (file)
@@ -17,7 +17,7 @@ not be displayed.
 If the optional \*Qnew\*U argument is given,
 the program will take several minutes to gather information
 and generate a power report based on that up-to-date information.
-This costs several BTU's (typically 10).
+This costs 10 BTU's.
 .s1
 If the optional \*Qnew\*U argument is not given,
 the program will shown you the report generated
index 304ea921b9b442831643ab9a2633220fed6ba3cf..de86bec6a09a2683bb60df658d08675f6372620c 100644 (file)
@@ -241,7 +241,7 @@ gen_power(void)
     struct natstr *natp;
     float f;
 
-    player->btused += powe_cost;
+    player->btused += 10;
     memset(powbuf, 0, sizeof(powbuf));
     snxtsct_all(&ns);
     while (nxtsct(&ns, &sect)) {
index 103e0b79db1cfc20955cff1b9672850a9bd7f240..90d81b407a7a6c23ac0cbf76c8ac3c08f5b79655 100644 (file)
@@ -187,7 +187,6 @@ int at_least_one_100 = 1;   /* init player with 100/100/100/100 sector? */
 float btu_build_rate = 0.0012; /* etu * civ * eff * btu_build_rate */
                                /* 8 * 999 * 100 * 0.0004 = 319 */
 int max_btus = 640;            /* maximum # of btu's */
-double powe_cost = 10.0;       /* btu cost to gen a power report */
 
 double buil_bt = 10.0;         /* tech level required to build a bridge */
 int buil_bh = 100;             /* hcm required to build a bridge */