(repo_header, repo_list): HIDDEN used to suppress column status.
Don't; report status with less detail for HIDDEN instead, like the country command.
This commit is contained in:
parent
60680a6a2e
commit
e5f9175394
2 changed files with 9 additions and 17 deletions
|
@ -10,7 +10,7 @@ country: Discloses less detailed status of active countries.
|
||||||
newspaper: Reports on contacted countries only, except for headlines.
|
newspaper: Reports on contacted countries only, except for headlines.
|
||||||
power: Displays your own power only; other nations never show up.
|
power: Displays your own power only; other nations never show up.
|
||||||
relations: Reports on contacted countries only.
|
relations: Reports on contacted countries only.
|
||||||
report: Reports on contacted countries only, and no status.
|
report: Reports on contacted countries only, and less status.
|
||||||
.FI
|
.FI
|
||||||
.s1
|
.s1
|
||||||
Commands to interact with other countries, like telegram, work only
|
Commands to interact with other countries, like telegram, work only
|
||||||
|
|
|
@ -112,12 +112,8 @@ repo_header(void)
|
||||||
pr(" # name tech research education happiness ");
|
pr(" # name tech research education happiness ");
|
||||||
if (player->god)
|
if (player->god)
|
||||||
pr("capital\n");
|
pr("capital\n");
|
||||||
else {
|
|
||||||
if (opt_HIDDEN)
|
|
||||||
pr("\n");
|
|
||||||
else
|
else
|
||||||
pr(" status\n");
|
pr(" status\n");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -138,17 +134,13 @@ repo_list(struct stats *stat, natid cn, struct natstr *natp)
|
||||||
printdiff(stat->stat, stat->res, natp, NAT_RLEV);
|
printdiff(stat->stat, stat->res, natp, NAT_RLEV);
|
||||||
printdiff(stat->stat, stat->edu, natp, NAT_ELEV);
|
printdiff(stat->stat, stat->edu, natp, NAT_ELEV);
|
||||||
printdiff(stat->stat, stat->hap, natp, NAT_HLEV);
|
printdiff(stat->stat, stat->hap, natp, NAT_HLEV);
|
||||||
if (opt_HIDDEN) {
|
if (!opt_HIDDEN && influx(natp))
|
||||||
pr("\n");
|
|
||||||
} else {
|
|
||||||
if (influx(natp))
|
|
||||||
pr("In flux\n");
|
pr("In flux\n");
|
||||||
else if (natp->nat_money <= 0)
|
else if (!opt_HIDDEN && natp->nat_money <= 0)
|
||||||
pr("Broke\n");
|
pr("Broke\n");
|
||||||
else
|
else
|
||||||
pr("Active\n");
|
pr("Active\n");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue