Let players stop/start units:
(genitem, lndstr, nukstr, plnstr, shpstr): New members off, lnd_off, nuk_off, pln_off, shp_off. (NSC_GENITEM): New selector off. (land, nuke, plan, shi): Display efficiency prefixed by `=' when off. (start, stop, player_coms): Rewrite, new syntax. Print only objects that actually change. (start_hdr, stop_hdr, start_stop_hdr): Consolidate. (item_u, start_stop, start_stop_sector, proff, start_stop_unit) (start_stop_unit_hdr, unit_type_name): New. (upd_land, upd_plane, planerepair, upd_ship): Obey and clear stoppage.
This commit is contained in:
parent
520446ef39
commit
eb1512d75f
22 changed files with 218 additions and 179 deletions
|
@ -237,9 +237,9 @@ struct cmndstr player_coms[] = {
|
|||
{"sorder <SHIPS>", 0, sorde, C_MOD, NORM + CAP},
|
||||
{"spy <SECTS>", 1, spy, C_MOD, NORM + CAP},
|
||||
{"sstat <SHIPS>", 0, sstat, 0, NORM},
|
||||
{"start <SECTS>", 1, start, C_MOD, NORM + CAP},
|
||||
{"start <TYPE> <SECTS|PLANES|SHIPS|UNITS>", 1, start, C_MOD, NORM + CAP},
|
||||
{"starvation [<SECTS>|l <UNITS>|s <SHIPS>]", 0, starve, 0, NORM},
|
||||
{"stop <SECTS>", 1, stop, C_MOD, NORM + CAP},
|
||||
{"stop <TYPE> <SECTS|PLANES|SHIPS|UNITS>", 1, stop, C_MOD, NORM + CAP},
|
||||
{"strength <SECTS>", 1, stre, C_MOD, NORM},
|
||||
{"supply <LAND UNITS>", 1, supp, C_MOD, NORM + CAP},
|
||||
{"survey <SELECTOR> <SECTS>", 0, surv, 0, NORM + CAP},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue