(powe_cost): Remove powe_cost and replace with a fixed cost of 10.
This commit is contained in:
parent
62e57635ea
commit
3db7e6201f
4 changed files with 2 additions and 5 deletions
|
@ -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")
|
"Initialize new countries with at least one sector with 100 of all resource")
|
||||||
EMPCFBOTH("start_cash", start_cash, long, NSC_LONG, 0,
|
EMPCFBOTH("start_cash", start_cash, long, NSC_LONG, 0,
|
||||||
"Starting cash for new countries")
|
"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,
|
EMPCFBOTH("war_cost", War_Cost, int, NSC_INT, 0,
|
||||||
"Cost to declare war (if SLOW_WAR is on)")
|
"Cost to declare war (if SLOW_WAR is on)")
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ not be displayed.
|
||||||
If the optional \*Qnew\*U argument is given,
|
If the optional \*Qnew\*U argument is given,
|
||||||
the program will take several minutes to gather information
|
the program will take several minutes to gather information
|
||||||
and generate a power report based on that up-to-date 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
|
.s1
|
||||||
If the optional \*Qnew\*U argument is not given,
|
If the optional \*Qnew\*U argument is not given,
|
||||||
the program will shown you the report generated
|
the program will shown you the report generated
|
||||||
|
|
|
@ -241,7 +241,7 @@ gen_power(void)
|
||||||
struct natstr *natp;
|
struct natstr *natp;
|
||||||
float f;
|
float f;
|
||||||
|
|
||||||
player->btused += powe_cost;
|
player->btused += 10;
|
||||||
memset(powbuf, 0, sizeof(powbuf));
|
memset(powbuf, 0, sizeof(powbuf));
|
||||||
snxtsct_all(&ns);
|
snxtsct_all(&ns);
|
||||||
while (nxtsct(&ns, §)) {
|
while (nxtsct(&ns, §)) {
|
||||||
|
|
|
@ -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 */
|
float btu_build_rate = 0.0012; /* etu * civ * eff * btu_build_rate */
|
||||||
/* 8 * 999 * 100 * 0.0004 = 319 */
|
/* 8 * 999 * 100 * 0.0004 = 319 */
|
||||||
int max_btus = 640; /* maximum # of btu's */
|
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 */
|
double buil_bt = 10.0; /* tech level required to build a bridge */
|
||||||
int buil_bh = 100; /* hcm required to build a bridge */
|
int buil_bh = 100; /* hcm required to build a bridge */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue