]> git.pond.sub.org Git - empserver/blob - info/lretreat.t
New info Hvy-Plastic
[empserver] / info / lretreat.t
1 .TH Command LRETREAT
2 .NA lretreat "Set retreat conditions/paths for units or armies"
3 .LV Expert
4 .SY "retreat [<SHIP/FLEET> | <SECTS>] [<PATH>] [<CONDITIONS>]"
5 .SY "lretreat [<UNIT/ARMY> | <SECTS>] [<PATH>] [<CONDITIONS>]"
6 The retreat command allows you to examine or modify the retreat
7 paths and conditions of your ships or units. The following description
8 is for ships. Land units are exactly the same, except of course that
9 some of the retreat conditions (being sonared, depth charged, etc) don't apply.
10 .s1
11 The <SHIP/FLEET> and <SECTS> arguments are provided to specify which
12 ships to view or give orders for. If a fleet designation is given when
13 specifying orders, the orders apply to all ships within that fleet.
14 .s1
15 Retreat expects an argument.  To see every ship you own, give it
16 the argument '*', or type "retreat *".
17 .s1
18 The report format contains the following fields:
19 .s1
20 .in \w'shiptype\0\0'u
21 .L shp#
22 the ship number
23 .L shiptype
24 the type of ship; \*Qpatrol boat\*U, \*Qsubmarine\*U, etc,
25 .L x,y
26 the ship's current location (relative to your capital),
27 .L flt
28 the fleet designation letter (set by \*Qfleetadd\*U command),
29 .L path
30 the ship's current retreat path.
31 .L as_flt?
32 whether or not the ship's retreat path is a fleet retreat path
33 .L flags
34 what conditions the ship will retreat under
35 .in
36 .s1
37 For example:
38 .EX retreat *
39 .NF
40 shp#     ship type       x,y   fl path       as flt? flags
41    0 battleship 4        2,0      jjuuj              I
42 1 ship
43 .FI
44 .s1
45 .L Overview
46 .s1
47 A player may give retreat orders for a ship or a fleet. Retreat
48 orders include a set of conditions that determine when the fleet/ship
49 will retreat, and a path that the fleet/ship will follow. When a condition
50 is met for a particular ship, the \*Qas flt?\*U field is checked. If it
51 is Yes, then every ship in that fleet with fleet retreat orders retreats
52 along the specified path. If it is no, then the retreat orders apply to
53 that ship only, and only that ship retreats.
54 .s1
55 When a ship is added to a fleet, it is given the retreat orders of that
56 fleet, if any exist.
57 .s1
58 Retreat orders are wiped when a ship navigates.
59 .s1
60 Retreat conditions at present include:
61 .nf
62
63                 Condition       Meaning
64                 I               Retreat when the ship is injured,
65                                 i.e. whenever the ship is damaged
66                                 by fire, bombs, or torping.
67                 T               Retreat when a sub torpedos or tries
68                                 to torpedo the ship.
69                 B               Retreat when a plane bombs or tries
70                                 to bomb the ship.
71                 S               Retreat when the ship detects a sonar
72                                 ping.
73                 D               Retreat when the ship is depth-charged.
74                 H               Retreat when helpless. A ship is helpless
75                                 when it is fired upon, and no friendly
76                                 ships/sectors (including the ship itself)
77                                 are able to fire back at the aggressor.
78                 C               Clear the flags
79 .fi
80 .s1
81 For example, if the battleship above was fired at, it would attempt to
82 retreat 2 sectors, jj, using the normal amount of mobility for moving
83 2 sectors. It would then look like:
84 .NF
85 shp#     ship type       x,y   fl path       as flt? flags
86    0 battleship 4        2,0      uuj                I
87 1 ship
88 .FI
89 .s1
90 .SA "ship, fleetadd, LandUnits"