retreat lretreat: Be less loquacious when changing orders

Instead of listing all the ships or land units ordered, just print how
many got ordered, and describe the order, like this:

    [0:640] Command : retr 2/3 bg itb
    2 ships ordered to retreat along path bg when injured, torpedoed, bombed
    [0:640] Command : retr 2 h
    1 ship ordered not to retreat

fleetadd doesn't list the ships it reassigns, either.  On the other
hand, stop lists the sectors it stops.  Perhaps it should be gagged,
too.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2015-01-10 10:23:48 +01:00
parent c702dc9e94
commit e2b264f02c
2 changed files with 63 additions and 47 deletions

View file

@ -50,22 +50,15 @@
Play#1 output Play#1 6 0 639
Play#1 input retr 2/3 bgyujnbgyujnbgyujn itshbdu
Play#1 command retreat
Play#1 output Play#1 1 shp# ship type x,y fl path as flt? flags
Play#1 output Play#1 1 2 lc light cruis -3,1 bgyujnbgy itshbdu
Play#1 output Play#1 1 3 lc light cruis -3,1 a bgyujnbgy itshbdu
Play#1 output Play#1 1 2 ships
Play#1 output Play#1 1 2 ships ordered to retreat along path bgyujnbgyujnbgyujn when injured, torpedoed, sonared, helpless, bombed, depth-charged, boarded
Play#1 output Play#1 6 0 638
Play#1 input retr 3 h
Play#1 command retreat
Play#1 output Play#1 1 shp# ship type x,y fl path as flt? flags
Play#1 output Play#1 1 3 lc light cruis -3,1 a
Play#1 output Play#1 1 1 ship
Play#1 output Play#1 1 1 ship ordered not to retreat
Play#1 output Play#1 6 0 637
Play#1 input retr a ?uid=4 b h
Play#1 command retreat
Play#1 output Play#1 1 shp# ship type x,y fl path as flt? flags
Play#1 output Play#1 1 4 lc light cruis -5,1 a b Yes h
Play#1 output Play#1 1 1 ship
Play#1 output Play#1 1 1 ship ordered to retreat as group along path b when helpless
Play#1 output Play#1 6 0 636
Play#1 input fleet a 7
Play#1 command fleetadd
@ -115,22 +108,15 @@
Play#1 output Play#1 6 0 634
Play#1 input lret 2/3 yujnbgyujnbgyujnbg ihb
Play#1 command lretreat
Play#1 output Play#1 1 lnd# unit type x,y ar path as army? flags
Play#1 output Play#1 1 2 inf infantry -3,1 yujnbgyuj ihb
Play#1 output Play#1 1 3 inf infantry -3,1 a yujnbgyuj ihb
Play#1 output Play#1 1 2 units
Play#1 output Play#1 1 2 land units ordered to retreat along path yujnbgyujnbgyujnbg when injured, helpless, bombed
Play#1 output Play#1 6 0 633
Play#1 input lret 3 h
Play#1 command lretreat
Play#1 output Play#1 1 lnd# unit type x,y ar path as army? flags
Play#1 output Play#1 1 3 inf infantry -3,1 a
Play#1 output Play#1 1 1 unit
Play#1 output Play#1 1 1 land unit ordered not to retreat
Play#1 output Play#1 6 0 632
Play#1 input lret a ?uid=4 b h
Play#1 command lretreat
Play#1 output Play#1 1 lnd# unit type x,y ar path as army? flags
Play#1 output Play#1 1 4 inf infantry -4,0 a b Yes h
Play#1 output Play#1 1 1 unit
Play#1 output Play#1 1 1 land unit ordered to retreat as group along path b when helpless
Play#1 output Play#1 6 0 631
Play#1 input army a 7
Play#1 command army