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:
Markus Armbruster 2006-05-29 21:11:14 +00:00
parent 520446ef39
commit eb1512d75f
22 changed files with 218 additions and 179 deletions

View file

@ -5,9 +5,9 @@
The ship report command is a census of your ships. For example:
.EX ship *
.NF
shp# ship type x,y fl eff civ mil uw fd pn he xl ln mob tech
0 dd destroyer 1,1 100% 0 0 0 0 0 0 0 0 127 140
1 bb battleship 1,1 100% 0 0 0 0 0 0 0 0 120 200
shp# ship type x,y fl eff civ mil uw fd pn he xl ln mob tech
0 dd destroyer 1,1 100% 0 0 0 0 0 0 0 0 127 140
1 bb battleship 1,1 100% 0 0 0 0 0 0 0 0 120 200
2 ships
.FI
.s1
@ -23,7 +23,7 @@ the ship's current location,
.L flt
the fleet designation letter (set by \*Qfleetadd\*U command),
.L eff
the ship's efficiency,
the ship's efficiency, prefixed by \*Q=\*U if stopped,
.L civ
the number of civilians on board,
.L mil