(powe_cost): Remove powe_cost and replace with a fixed cost of 10.

This commit is contained in:
Ron Koenderink 2006-02-04 19:36:51 +00:00
parent 62e57635ea
commit 3db7e6201f
4 changed files with 2 additions and 5 deletions

View 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)")

View 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

View 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)) {

View 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 */