(explain): Part of the argument explanation was suppressed under a
weird condition (visitor or sanctuary, neither money nor capital). Don't.
This commit is contained in:
parent
2e64ebbb3a
commit
0b037fc23c
1 changed files with 12 additions and 14 deletions
|
@ -127,20 +127,18 @@ explain(void)
|
||||||
register s_char *format;
|
register s_char *format;
|
||||||
register int i;
|
register int i;
|
||||||
|
|
||||||
pr("\t\tCurrent EMPIRE Command List\n");
|
pr("\t\tCurrent EMPIRE Command List\n"
|
||||||
pr("\t\t------- ------ ------- ----\n");
|
"\t\t------- ------ ------- ----\n"
|
||||||
pr("Initial number is cost in B.T.U. units.\n");
|
"Initial number is cost in B.T.U. units.\n"
|
||||||
pr("Next 2 chars (if present) are:\n");
|
"Next 2 chars (if present) are:\n"
|
||||||
pr("$ - must be non-broke\tc -- must have capital\n");
|
"$ - must be non-broke\tc -- must have capital\n"
|
||||||
pr("Args in [brackets] are optional.\n");
|
"Args in [brackets] are optional.\n"
|
||||||
if (player->nstat > 4) {
|
"All-caps args in <angle brackets>"
|
||||||
pr("All-caps args in <angle brackets>");
|
" have the following meanings:\n"
|
||||||
pr(" have the following meanings:\n");
|
" <NUM> :: a number in unspecified units\n"
|
||||||
pr(" <NUM> :: a number in unspecified units\n");
|
" <COMM> :: a commodity such as `food', `guns', etc\n"
|
||||||
pr(" <COMM> :: a commodity such as `food', `guns', etc\n");
|
" <VAR> :: a commodity such as `food', `guns', etc\n"
|
||||||
pr(" <VAR> :: a commodity such as `food', `guns', etc\n");
|
" <TYPE> :: an item type such as `ship', `plane', etc\n");
|
||||||
pr(" <TYPE> :: an item type such as `ship', `plane', etc\n");
|
|
||||||
}
|
|
||||||
for (i = 0; (format = player_coms[i].c_form) != 0; i++) {
|
for (i = 0; (format = player_coms[i].c_form) != 0; i++) {
|
||||||
if ((player_coms[i].c_permit & player->ncomstat) ==
|
if ((player_coms[i].c_permit & player->ncomstat) ==
|
||||||
player_coms[i].c_permit) {
|
player_coms[i].c_permit) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue