(player_coms): Clean up c_form of announce, break, bye and list.

This commit is contained in:
Markus Armbruster 2008-01-01 19:09:38 +00:00
parent 353cb3209b
commit e424baab8b
2 changed files with 4 additions and 5 deletions

View file

@ -2,7 +2,6 @@
.NA list "List commands which are currently legal" .NA list "List commands which are currently legal"
.LV Expert .LV Expert
.SY list .SY list
.SY "list of commands"
The list command gets you a list of currently legal commands The list command gets you a list of currently legal commands
with their associated BTU costs, with their associated BTU costs,
(see \*Qinfo time\*U for description of BTU's). (see \*Qinfo time\*U for description of BTU's).

View file

@ -45,7 +45,7 @@ struct cmndstr player_coms[] = {
/* command form cost addr permit */ /* command form cost addr permit */
{"accept [as-COUNTRY]", 0, acce, C_MOD, NORM}, {"accept [as-COUNTRY]", 0, acce, C_MOD, NORM},
{"add <NAT> <NAME> <REP> <STATUS> <c|w|i>", 0, add, C_MOD, GOD}, {"add <NAT> <NAME> <REP> <STATUS> <c|w|i>", 0, add, C_MOD, GOD},
{"announce {message}", 0, tele, C_MOD, VIS}, {"announce", 0, tele, C_MOD, VIS},
{"anti <SECT>", 3, anti, C_MOD, NORM + MONEY + CAP}, {"anti <SECT>", 3, anti, C_MOD, NORM + MONEY + CAP},
{"apropos <topic>", 0, apro, 0, VIS}, {"apropos <topic>", 0, apro, 0, VIS},
{"arm <PLANE> <NUKE> <airburst?>", 3, arm, C_MOD, NORM + MONEY + CAP}, {"arm <PLANE> <NUKE> <airburst?>", 3, arm, C_MOD, NORM + MONEY + CAP},
@ -61,13 +61,13 @@ struct cmndstr player_coms[] = {
3, boar, C_MOD, NORM + MONEY + CAP}, 3, boar, C_MOD, NORM + MONEY + CAP},
{"bomb <bomber-PLANES> <fighter-PLANES> <pin|strat> <ap-SECT> <PATH|DESTINATION>", {"bomb <bomber-PLANES> <fighter-PLANES> <pin|strat> <ap-SECT> <PATH|DESTINATION>",
2, bomb, C_MOD, NORM + MONEY + CAP}, 2, bomb, C_MOD, NORM + MONEY + CAP},
{"break {sanctuary}", 0, brea, C_MOD, SANCT}, {"break", 0, brea, C_MOD, SANCT},
{"budget", 1, budg, 0, NORM}, {"budget", 1, budg, 0, NORM},
{"build <s|l|b|p|n|t> <SECTS> <type|dir> [<number> <tech> <sure?>]", {"build <s|l|b|p|n|t> <SECTS> <type|dir> [<number> <tech> <sure?>]",
1, buil, C_MOD, NORM + MONEY + CAP}, 1, buil, C_MOD, NORM + MONEY + CAP},
{"buy <COMM> <LOT#> <BID/UNIT> <DEST>", {"buy <COMM> <LOT#> <BID/UNIT> <DEST>",
1, buy, C_MOD, CAP + NORM + MONEY}, 1, buy, C_MOD, CAP + NORM + MONEY},
{"bye {log-off}", 0, quit, 0, VIS}, {"bye", 0, quit, 0, VIS},
{"capital <SECT>", 0, capi, C_MOD, NORM}, {"capital <SECT>", 0, capi, C_MOD, NORM},
{"cargo <SHIPS>", 0, carg, 0, NORM}, {"cargo <SHIPS>", 0, carg, 0, NORM},
#ifdef CEDE_IS_ALLOWED #ifdef CEDE_IS_ALLOWED
@ -132,7 +132,7 @@ struct cmndstr player_coms[] = {
{"ldump <UNITS> [<fields>]", 0, ldump, 0, NORM}, {"ldump <UNITS> [<fields>]", 0, ldump, 0, NORM},
{"ledger <LOANS>", 0, ledg, 0, NORM}, {"ledger <LOANS>", 0, ledg, 0, NORM},
{"level <SECTS>", 0, leve, 0, NORM}, {"level <SECTS>", 0, leve, 0, NORM},
{"list of commands", 0, explain, 0, VIS}, {"list", 0, explain, 0, VIS},
{"lload <COMM|\"land\"|\"plane\"> <UNITS> <NUM|UNITS|PLANES>", {"lload <COMM|\"land\"|\"plane\"> <UNITS> <NUM|UNITS|PLANES>",
1, lload, C_MOD, NORM + CAP}, 1, lload, C_MOD, NORM + CAP},
{"llookout <UNITS>", 1, llook, 0, NORM + CAP}, {"llookout <UNITS>", 1, llook, 0, NORM + CAP},